diff options
author | jaypipes@gmail.com <> | 2010-12-11 15:23:40 -0500 |
---|---|---|
committer | jaypipes@gmail.com <> | 2010-12-11 15:23:40 -0500 |
commit | 12802a76c775a35e9d5a651bf896cfa25bec547f (patch) | |
tree | 8c4411a54ef3a8cabc57a51dd930bd8d6683967a /nova/twistd.py | |
parent | a6645d8a431ed933eef4ea6c42c0224ead6f2272 (diff) | |
download | nova-12802a76c775a35e9d5a651bf896cfa25bec547f.tar.gz nova-12802a76c775a35e9d5a651bf896cfa25bec547f.tar.xz nova-12802a76c775a35e9d5a651bf896cfa25bec547f.zip |
First round of i18n-ifying strings in Nova
Diffstat (limited to 'nova/twistd.py')
-rw-r--r-- | nova/twistd.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/twistd.py b/nova/twistd.py index cb5648ce6..c5b7fed8c 100644 --- a/nova/twistd.py +++ b/nova/twistd.py @@ -208,7 +208,7 @@ def stop(pidfile): pid = None if not pid: - message = "pidfile %s does not exist. Daemon not running?\n" + message = _("pidfile %s does not exist. Daemon not running?\n") sys.stderr.write(message % pidfile) # Not an error in a restart return @@ -229,7 +229,7 @@ def stop(pidfile): def serve(filename): - logging.debug("Serving %s" % filename) + logging.debug(_("Serving %s") % filename) name = os.path.basename(filename) OptionsClass = WrapTwistedOptions(TwistdServerOptions) options = OptionsClass() @@ -281,7 +281,7 @@ def serve(filename): else: logging.getLogger().setLevel(logging.WARNING) - logging.debug("Full set of FLAGS:") + logging.debug(_("Full set of FLAGS:")) for flag in FLAGS: logging.debug("%s : %s" % (flag, FLAGS.get(flag, None))) |