Download:
child 197:e59198f04d78
parent 195:31c88aa3a6d2
196:7a05eb159087
Anton Shestakov <av6@dwimlabs.net>, Sat, 30 Jul 2016 17:47:09 +0800
queue: print a usable URL in the 'serving on' log line

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
hooks-queue.py file | annotate | diff | comparison | revisions
--- a/hooks-queue.py Sat Jul 30 17:24:50 2016 +0800
+++ b/hooks-queue.py Sat Jul 30 17:47:09 2016 +0800
@@ -70,7 +70,7 @@
def listen(self, port, address='', **kwargs):
name = self.__class__.__name__
- logging.info('%s is serving on %s:%d', name, address, port)
+ logging.info('%s is serving on http://%s:%d/', name, address, port)
super(CandolintHooks, self).listen(port, address, **kwargs)