From f34b0f485fdf1e287365650524671172e6ee66eb Mon Sep 17 00:00:00 2001 From: Rich Wareham Date: Thu, 15 Jul 2021 10:47:53 +0100 Subject: [PATCH] blob.py: remove dangling comma in _DOWNLOAD_AS_STRING_DEPRECATED 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 --- google/cloud/storage/blob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/cloud/storage/blob.py b/google/cloud/storage/blob.py index e6b7e835f..a9f71a081 100644 --- a/google/cloud/storage/blob.py +++ b/google/cloud/storage/blob.py @@ -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." )