update the "serving on" string

This commit is contained in:
Damien Churchill 2009-04-08 08:37:41 +00:00
parent 855385227a
commit 030c5b51d4
1 changed files with 2 additions and 5 deletions

View File

@ -252,11 +252,8 @@ class DelugeWeb(component.Component):
def start(self):
print "%s %s." % (_("Starting server in PID"), os.getpid())
reactor.listenTCP(self.port, self.site)
print "%(serve)s 0.0.0.0:%(port)s %(view)s http://127.0.0.1:%(port)s" % {
"port": self.port,
"serve": _("serving on"),
"view": _("view at")
}
print "serving on %s:%s view at http://127.0.0.1:%s" % ("0.0.0.0",
self.port, self.port)
reactor.run()
def shutdown(self, *args):