summaryrefslogtreecommitdiff
path: root/troveclient/shell.py
diff options
context:
space:
mode:
authorChristian Berendt <berendt@b1-systems.de>2014-05-13 23:09:47 +0200
committerChristian Berendt <berendt@b1-systems.de>2014-05-13 23:12:17 +0200
commit31569163a5927c97c6286157aecf83a7b4ce945b (patch)
treef16516222d67095207d1188e7428bd4aa37b2b0e /troveclient/shell.py
parent85857724d4c13dabe74e402a963824f65928d824 (diff)
downloadpython-troveclient-31569163a5927c97c6286157aecf83a7b4ce945b.tar.gz
fixed several pep8 issues
* E265 block comment should start with '# ' * E128 continuation line under-indented for visual indent * E713 test for membership should be 'not in' Tested with pep8 version 1.5.6 (2014-04-14). Change-Id: If2853c79bea91ebef5cd97dff66788b46b174a9a
Diffstat (limited to 'troveclient/shell.py')
-rw-r--r--troveclient/shell.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/troveclient/shell.py b/troveclient/shell.py
index e5d9490..f71c573 100644
--- a/troveclient/shell.py
+++ b/troveclient/shell.py
@@ -60,7 +60,7 @@ class TroveClientArgumentParser(argparse.ArgumentParser):
exits.
"""
self.print_usage(sys.stderr)
- #FIXME(lzyeval): if changes occur in argparse.ArgParser._check_value
+ # FIXME(lzyeval): if changes occur in argparse.ArgParser._check_value
choose_from = ' (choose from'
progparts = self.prog.partition(' ')
self.exit(2, "error: %(errmsg)s\nTry '%(mainp)s help %(subp)s'"
@@ -388,7 +388,7 @@ class OpenStackTroveShell(object):
service_type = DEFAULT_TROVE_SERVICE_TYPE
service_type = utils.get_service_type(args.func) or service_type
- #FIXME(usrleon): Here should be restrict for project id same as
+ # FIXME(usrleon): Here should be restrict for project id same as
# for os_username or os_password but for compatibility it is not.
if not utils.isunauthenticated(args.func):
@@ -451,7 +451,7 @@ class OpenStackTroveShell(object):
"Change its value via either --os-database-api-version "
"or env[OS_DATABASE_API_VERSION]")
% (options.os_database_api_version, endpoint_api_version))
- #raise exc.InvalidAPIVersion(msg)
+ # raise exc.InvalidAPIVersion(msg)
raise exc.UnsupportedVersion(msg)
# Override printing to json output