found 640628 debpartial-mirror/0.3.0
thanks

Bah, now I realize I attached the wrong version of the patch :-/
Attached there is a fix for version 0.3.0, which hopefully does not 
cause python symbol errors (double errno, module and variable).

Sorry again,

-- 
Pino Toscano
--- a/debpartial_mirror/Download.py
+++ b/debpartial_mirror/Download.py
@@ -25,7 +25,7 @@ from stat import *
 import pycurl
 from string import split, join
 from rfc822 import formatdate
-import errno
+from errno import EEXIST
 
 from debpartial_mirror import DisplayStatus
 
@@ -108,7 +108,7 @@ class Curl:
 				try:
 					os.makedirs(os.path.dirname(self._curl.filename))
 				except OSError, (errno, msg):
-					if errno != errno.EEXIST:
+					if errno != EEXIST:
 						print "ERROR:", msg
 				# (uri, destine, callback, error_callback, no_cache)
 				self.Queue.put((

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to