From 1450b625bb13b4e34f272877591d51f2ef17fa54 Mon Sep 17 00:00:00 2001 From: "Kostis Anagnostopoulos @ STUW025" Date: Fri, 27 Feb 2015 14:36:30 +0100 Subject: [PATCH] log: Replace forgotten printout-statement on startup with logging. --- pypiserver/core.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pypiserver/core.py b/pypiserver/core.py index 56696a3..c498cee 100644 --- a/pypiserver/core.py +++ b/pypiserver/core.py @@ -435,9 +435,8 @@ def main(argv=None): cache_control=cache_control, ) server = server or "auto" - sys.stdout.write( - "This is pypiserver %s serving %r on http://%s:%s\n\n" % (__version__, ", ".join(roots), host, port)) - sys.stdout.flush() + log.info("This is pypiserver %s serving %r on http://%s:%s\n\n", + __version__, ", ".join(roots), host, port) run(app=a, host=host, port=port, server=server)