r398 - in branches/rewrite: . src
Otavio Salvador
partial-mirror-devel@lists.alioth.debian.org
Mon, 13 Dec 2004 04:54:09 -0700
Author: otavio
Date: Mon Dec 13 04:54:06 2004
New Revision: 398
Modified:
branches/rewrite/ (props changed)
branches/rewrite/src/debpartial-mirror.in
Log:
r549@nurf: otavio | 2004-12-13T11:47:47.420543Z
Use sys module for exit.
Modified: branches/rewrite/src/debpartial-mirror.in
==============================================================================
--- branches/rewrite/src/debpartial-mirror.in (original)
+++ branches/rewrite/src/debpartial-mirror.in Mon Dec 13 04:54:06 2004
@@ -84,7 +84,7 @@
%s
And MIRROR selects which mirror we should work with (all by default).
""" % (conffile, cmnds_string)
- exit(ret)
+ sys.exit(ret)
def sigint_handler(signum, frame):
print "\n\rInterrupting download due a user request ..."