diff --git a/logging/google/cloud/logging/logger.py b/logging/google/cloud/logging/logger.py index 07eb2de59de8..d5a5b201dca0 100644 --- a/logging/google/cloud/logging/logger.py +++ b/logging/google/cloud/logging/logger.py @@ -455,8 +455,8 @@ def commit(self, client=None): kwargs['labels'] = self.logger.labels entries = [] - for entry_type, entry, labels, iid, severity, http_req, timestamp in \ - self.entries: + for (entry_type, entry, labels, iid, severity, http_req, + timestamp) in self.entries: if entry_type == 'text': info = {'textPayload': entry} elif entry_type == 'struct':