diff options
author | Dolph Mathews <dolph.mathews@gmail.com> | 2013-05-28 09:22:03 -0500 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-06-03 13:05:12 +0000 |
commit | 6f27af4a0cdbde42b1566ecabaf667c26b089dc3 (patch) | |
tree | b5113ad5410764c0a8279d84ad89975192973954 /keystoneclient/client.py | |
parent | abcf9db6251a2e1349ee199113cc80a136ff2f79 (diff) | |
download | python-keystoneclient-6f27af4a0cdbde42b1566ecabaf667c26b089dc3.tar.gz |
Fix unused imports(flake8 F401, F999)
- F401: imported but unused
- F999: syntax error in doctest
Fixing a couple of the F401's simply required fixing the doctests syntax
where the imports were actually in use.
Change-Id: If78abbb143daf8d005a71c5ab52836df29c5e0cd
Diffstat (limited to 'keystoneclient/client.py')
-rw-r--r-- | keystoneclient/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/client.py b/keystoneclient/client.py index 8e5e2bd..5b2f125 100644 --- a/keystoneclient/client.py +++ b/keystoneclient/client.py @@ -35,8 +35,8 @@ _logger = logging.getLogger(__name__) def try_import_keyring(): try: - import keyring - import pickle + import keyring # noqa + import pickle # noqa return True except ImportError: if (hasattr(sys.stderr, 'isatty') and sys.stderr.isatty()): |