Skip to content

Commit

Permalink
Fixed nit
Browse files Browse the repository at this point in the history
  • Loading branch information
elibixby committed May 22, 2015
1 parent 8d7a1ca commit 6dbfe79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discoverydoccaching/discovery_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def build_and_update(api, version, scopes=None):
_update_discovery_doc(api, version, path)

credentials = GoogleCredentials.get_application_default()
if not scopes is None and credentials.create_scoped_required():
if scopes is not None and credentials.create_scoped_required():
credentials = credentials.create_scoped(scopes)
with open(path, 'r') as discovery_doc:
return build_from_document(discovery_doc.read(),
Expand Down

0 comments on commit 6dbfe79

Please sign in to comment.