Merge pull request #1079 from sivel/gc-storage-no-dict-comp

gc_storage: Don't use a dict comprehension
This commit is contained in:
Brian Coca 2015-04-03 17:44:34 -04:00
commit 9b5e8e36a9

View file

@ -242,8 +242,10 @@ def transform_headers(headers):
:rtype: dict
"""
return {key: str(value) for key, value in headers.items()}
for key, value in headers.items():
headers[key] = str(value)
return headers
def upload_gsfile(module, gs, bucket, obj, src, expiry):
try: