diff options
author | Mitch Garnaat <mitch@garnaat.com> | 2012-06-18 21:31:14 -0700 |
---|---|---|
committer | Mitch Garnaat <mitch@garnaat.com> | 2012-06-18 21:31:14 -0700 |
commit | 7f0c650849e86e798be205a79b0c10ed83520910 (patch) | |
tree | 2dbce03a1ae9499ca4451e8ccb5b14848f016a59 /boto/utils.py | |
parent | d8e42567b04f62fcfe83520d1edfce643ba0248c (diff) | |
download | boto-7f0c650849e86e798be205a79b0c10ed83520910.tar.gz |
Slight formatting change.
Diffstat (limited to 'boto/utils.py')
-rw-r--r-- | boto/utils.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/boto/utils.py b/boto/utils.py index 7df5a27c..860a26ce 100644 --- a/boto/utils.py +++ b/boto/utils.py @@ -248,7 +248,8 @@ class LazyLoadMetadata(dict): if key in self._leaves: resource = self._leaves[key] - val = boto.utils.retry_url(self._url + urllib.quote(resource, safe="/:"), + val = boto.utils.retry_url(self._url + urllib.quote(resource, + safe="/:"), num_retries=self._num_retries) if val[0] == '{': val = json.loads(val) @@ -258,7 +259,8 @@ class LazyLoadMetadata(dict): val = val.split('\n') self[key] = val elif key in self._dicts: - self[key] = LazyLoadMetadata(self._url + key + '/', self._num_retries) + self[key] = LazyLoadMetadata(self._url + key + '/', + self._num_retries) return super(LazyLoadMetadata, self).__getitem__(key) |