r390 - in branches/rewrite: . src
Otavio Salvador
partial-mirror-devel@lists.alioth.debian.org
Sat, 11 Dec 2004 17:04:22 -0700
Author: otavio
Date: Sat Dec 11 17:04:20 2004
New Revision: 390
Modified:
branches/rewrite/ (props changed)
branches/rewrite/src/debpartial-mirror.in
Log:
r426@nurf: otavio | 2004-12-12T00:04:17.307275Z
Change to show namespace; Add Download module to signal handle work well.
Modified: branches/rewrite/src/debpartial-mirror.in
==============================================================================
--- branches/rewrite/src/debpartial-mirror.in (original)
+++ branches/rewrite/src/debpartial-mirror.in Sat Dec 11 17:04:20 2004
@@ -31,8 +31,9 @@
# Appending our lib directory to sys.path
sys.path.append("/usr/share/debpartial-mirror")
-from Config import Config
-from Backend import *
+import Backend
+import Config
+import Download
# ---------
# Variables
@@ -87,7 +88,7 @@
def sigint_handler(signum, frame):
print "\n\rInterrupting download due a user request ..."
- d = Download()
+ d = Download.Download()
d.fetcher.running = False
def main():
@@ -151,7 +152,7 @@
backends = []
for b in cnf.getBackends():
if sect != "" or b.section == sect:
- backends.append(Backend(b.section, cnf))
+ backends.append(Backend.Backend(b.section, cnf))
for b in backends:
if cmnd == 'all':