Skip to content

Commit

Permalink
blob.py: remove dangling comma in _DOWNLOAD_AS_STRING_DEPRECATED
Browse files Browse the repository at this point in the history
The _DOWNLOAD_AS_STRING_DEPRECATED constant includes a dangling comma
which makes it a tuple and not a string. This causes a TypeError as reported in #501.

Closes #501
  • Loading branch information
rjw57 committed Jul 15, 2021
1 parent ac79079 commit f34b0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/storage/blob.py
Expand Up @@ -137,7 +137,7 @@
)
_DOWNLOAD_AS_STRING_DEPRECATED = (
"Blob.download_as_string() is deprecated and will be removed in future. "
"Use Blob.download_as_bytes() instead.",
"Use Blob.download_as_bytes() instead."
)


Expand Down

0 comments on commit f34b0f4

Please sign in to comment.