summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoren Hansen <soren.hansen@rackspace.com>2010-11-23 21:52:00 +0100
committerSoren Hansen <soren.hansen@rackspace.com>2010-11-23 21:52:00 +0100
commitedd7e3ed3bee6c11156569ab13b4eb5b3a1f7152 (patch)
tree3a1f0dbb00fe2be19f951df83c16cf6c45b9a729
parent89f56207de1ffe2f1f9d5c3cad3ab71ba324d133 (diff)
Address PEP8 complaints.
-rw-r--r--nova/server.py3
-rw-r--r--nova/twistd.py4
2 files changed, 5 insertions, 2 deletions
diff --git a/nova/server.py b/nova/server.py
index 4d0f6e4da..a0ee54681 100644
--- a/nova/server.py
+++ b/nova/server.py
@@ -42,7 +42,8 @@ flags.DEFINE_bool('daemonize', False, 'daemonize this process')
# clutter.
flags.DEFINE_bool('use_syslog', True, 'output to syslog when daemonizing')
flags.DEFINE_string('logfile', None, 'log file to output to')
-flags.DEFINE_string('logdir', None, 'directory to keep log files in (will be prepended to $logfile)')
+flags.DEFINE_string('logdir', None, 'directory to keep log files in '
+ '(will be prepended to $logfile)')
flags.DEFINE_string('pidfile', None, 'pid file to output to')
flags.DEFINE_string('working_directory', './', 'working directory...')
flags.DEFINE_integer('uid', os.getuid(), 'uid under which to run')
diff --git a/nova/twistd.py b/nova/twistd.py
index 6c6cb955f..cb5648ce6 100644
--- a/nova/twistd.py
+++ b/nova/twistd.py
@@ -43,7 +43,9 @@ else:
FLAGS = flags.FLAGS
-flags.DEFINE_string('logdir', None, 'directory to keep log files in (will be prepended to $logfile)')
+flags.DEFINE_string('logdir', None, 'directory to keep log files in '
+ '(will be prepended to $logfile)')
+
class TwistdServerOptions(ServerOptions):
def parseArgs(self, *args):