Skip to content

Commit

Permalink
Remove uncovered / pointless branch. (#3445)
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver authored May 19, 2017
1 parent 9220dac commit 4f58493
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ def __init__(self):
def log_struct(self, info, severity=logging.INFO, resource=None):
from google.cloud.logging.logger import _GLOBAL_RESOURCE

if resource is None:
resource = _GLOBAL_RESOURCE
assert resource is None
resource = _GLOBAL_RESOURCE

self.log_struct_called_with = (info, severity, resource)
self.entries.append(info)
Expand Down

0 comments on commit 4f58493

Please sign in to comment.