From 1bbbd7e7e123516a8540099e5f380ba158dfef5f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 27 Aug 2010 14:23:55 +0200 Subject: locale fixes --- module/web/ServerThread.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/web/ServerThread.py') diff --git a/module/web/ServerThread.py b/module/web/ServerThread.py index c07364243..59f3164f7 100644 --- a/module/web/ServerThread.py +++ b/module/web/ServerThread.py @@ -129,7 +129,7 @@ class WebServer(threading.Thread): command = ['nginx', '-c', join(path, "nginx.conf")] self.p = Popen(command, stderr=PIPE, stdin=PIPE, stdout=Output(out)) - log.info(_("Starting nginx Webserver: %s:%s") % (host, port)) + log.info(_("Starting nginx Webserver: %(host)s:%(port)d") % {"host": host, "port": port}) import run_fcgi run_fcgi.handle("daemonize=false", "method=threaded", "host=127.0.0.1", "port=9295") @@ -166,7 +166,7 @@ class WebServer(threading.Thread): command = ['lighttpd', '-D', '-f', join(path, "lighttpd.conf")] self.p = Popen(command, stderr=PIPE, stdin=PIPE, stdout=Output(out)) - log.info(_("Starting lighttpd Webserver: %s:%s") % (host, port)) + log.info(_("Starting lighttpd Webserver: %(host)s:%(port)d") % {"host": host, "port": port}) import run_fcgi run_fcgi.handle("daemonize=false", "method=threaded", "host=127.0.0.1", "port=9295") @@ -176,7 +176,7 @@ class WebServer(threading.Thread): import run_fcgi run_fcgi.handle("daemonize=false", "method=threaded", "host=127.0.0.1", "port=%s" % str(port)) else: - self.core.log.info(_("Starting django builtin Webserver: %s:%s") % (host, port)) + self.core.log.info(_("Starting django builtin Webserver: %(host)s:%(port)d") % {"host": host, "port": port}) import run_server run_server.handle(host, port) -- cgit v1.2.3