Skip to content

Commit

Permalink
Remove double __getstate__ goof.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sneeringer committed Mar 30, 2017
1 parent 4a5e1a0 commit a711292
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/google/cloud/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,6 @@ def __init__(self, credentials=None, _http=None):
credentials, self.SCOPE)
self._http_internal = _http

def __getstate__(self):
"""Explicitly state that clients are not pickleable."""
raise PicklingError('\n'.join([
'Pickling client objects is explicitly not supported.',
'Clients have non-trivial state that is local and unpickleable.',
]))

def __getstate__(self):
"""Explicitly state that clients are not pickleable."""

Expand Down

0 comments on commit a711292

Please sign in to comment.