git.samba.org
/
jelmer
/
calypso.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9cac8f
)
Print status line on startup
author
Guido Günther
<agx@sigxcpu.org>
Sat, 13 Feb 2016 12:55:45 +0000
(13:55 +0100)
committer
Guido Günther
<agx@sigxcpu.org>
Sun, 28 Feb 2016 18:21:08 +0000
(19:21 +0100)
This makes it simple to check if calypso is listening on the right
interface/port
calypso.py
patch
|
blob
|
history
diff --git
a/calypso.py
b/calypso.py
index 7d8c31b31bac50bdd08e634eb61de3613970a557..78baa91d0433c466dab167be661b9c4257f2a1c5 100755
(executable)
--- a/
calypso.py
+++ b/
calypso.py
@@
-132,6
+132,9
@@
if options.import_dest:
def run_server():
try:
# Launch server
+ log.debug("Starting HTTP%s server on %s:%d" % ("S" if options.ssl else "",
+ options.host if options.host else "*",
+ options.port))
server_class = calypso.HTTPSServer if options.ssl else calypso.HTTPServer
server = server_class(
(options.host, options.port), calypso.CollectionHTTPHandler)