This repository has been archived by the owner on Nov 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #285 from dhermes/remove-old-run
Removing old_run module.
- Loading branch information
Showing
4 changed files
with
1 addition
and
184 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
|
||
|
||
__author__ = '[email protected] (Joe Gregorio)' | ||
__all__ = ['argparser', 'run_flow', 'run', 'message_if_missing'] | ||
__all__ = ['argparser', 'run_flow', 'message_if_missing'] | ||
|
||
_CLIENT_SECRETS_MESSAGE = """WARNING: Please configure OAuth 2.0 | ||
|
@@ -242,14 +242,3 @@ def run_flow(flow, storage, flags, http=None): | |
def message_if_missing(filename): | ||
"""Helpful message to display if the CLIENT_SECRETS file is missing.""" | ||
return _CLIENT_SECRETS_MESSAGE % filename | ||
|
||
|
||
try: | ||
from oauth2client.old_run import run | ||
from oauth2client.old_run import FLAGS | ||
except ImportError: | ||
def run(*args, **kwargs): | ||
raise NotImplementedError( | ||
'The gflags library must be installed to use tools.run(). ' | ||
'Please install gflags or preferrably switch to using ' | ||
'tools.run_flow().') |