We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c93ad6d commit 0146c24Copy full SHA for 0146c24
roundup/scripts/roundup_server.py
@@ -16,7 +16,7 @@
16
#
17
""" HTTP Server that serves roundup.
18
19
-$Id: roundup_server.py,v 1.15 2002-11-05 22:59:46 richard Exp $
+$Id: roundup_server.py,v 1.16 2002-11-28 06:55:57 richard Exp $
20
"""
21
22
# python version check
@@ -309,7 +309,10 @@ def run():
309
310
httpd = BaseHTTPServer.HTTPServer(address, RoundupRequestHandler)
311
print _('Roundup server started on %(address)s')%locals()
312
- httpd.serve_forever()
+ try:
313
+ httpd.serve_forever()
314
+ except KeyboardInterrupt:
315
+ print 'Keyboard Interrupt: exiting'
316
317
if __name__ == '__main__':
318
run()
0 commit comments