Don't use a dict comprehension, be more verbose

This commit is contained in:
Matt Martz 2015-04-03 16:35:16 -05:00
parent de4c7f8ba6
commit 1e94fc5ab5

View file

@ -242,8 +242,10 @@ def transform_headers(headers):
:rtype: dict :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): def upload_gsfile(module, gs, bucket, obj, src, expiry):
try: try: