Your message dated Mon, 07 Nov 2011 17:17:14 +0000
with message-id <[email protected]>
and subject line Bug#640628: fixed in debpartial-mirror 0.3.1
has caused the Debian Bug report #640628,
regarding debpartial-mirror: uses hardcoded errno values
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
640628: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640628
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debpartial-mirror
Version: 0.2.99
Severity: normal
Tags: patch

Hi,

currently debpartial-mirror compares 'errno' values with hardcoded numeric
values, instead of using the constants of the 'errno' Python module.
This can lead to bugs due to E* values being potentially different per-OS,
and even per-arch for the same OS.

The attached patch fixes the issue.

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

--- End Message ---
--- Begin Message ---
Source: debpartial-mirror
Source-Version: 0.3.1

We believe that the bug you reported is fixed in the latest version of
debpartial-mirror, which is due to be installed in the Debian FTP archive:

debpartial-mirror_0.3.1.dsc
  to main/d/debpartial-mirror/debpartial-mirror_0.3.1.dsc
debpartial-mirror_0.3.1.tar.gz
  to main/d/debpartial-mirror/debpartial-mirror_0.3.1.tar.gz
debpartial-mirror_0.3.1_all.deb
  to main/d/debpartial-mirror/debpartial-mirror_0.3.1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otavio Salvador <[email protected]> (supplier of updated debpartial-mirror 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 07 Nov 2011 15:09:03 -0200
Source: debpartial-mirror
Binary: debpartial-mirror
Architecture: source all
Version: 0.3.1
Distribution: unstable
Urgency: low
Maintainer: Otavio Salvador <[email protected]>
Changed-By: Otavio Salvador <[email protected]>
Description: 
 debpartial-mirror - tools to create partial Debian mirrors
Closes: 640628
Changes: 
 debpartial-mirror (0.3.1) unstable; urgency=low
 .
   [ Martin Fuzzey ]
   * Apply second version of patch from Pino Toscano to user errno module 
rather than hardcoded constants (Closes: #640628)
Checksums-Sha1: 
 296cda8003542edbab0f56d95458e4232ce4409d 1713 debpartial-mirror_0.3.1.dsc
 7df2640b09e1b1ea77041de728cad4fea1d62a60 104534 debpartial-mirror_0.3.1.tar.gz
 69294ad7f7208f05d3fec27f445b31d4ba65f611 30750 debpartial-mirror_0.3.1_all.deb
Checksums-Sha256: 
 33613ffcd8be3144585a5ddf63d40539a01007e40c5fe63e8ed7748bfad71a04 1713 
debpartial-mirror_0.3.1.dsc
 7b9b487a5920afc893b81cc1ba087a6de37186e16bd1f80e44d0620ddc576682 104534 
debpartial-mirror_0.3.1.tar.gz
 31f8d1f4561454400047cdef82297d96322abd2e7062f68f1f57a131492e8ac5 30750 
debpartial-mirror_0.3.1_all.deb
Files: 
 5ec5bf385cb82f7c23f9349e32f48467 1713 net extra debpartial-mirror_0.3.1.dsc
 b94c8fb385569f54fa9449b46cfab66c 104534 net extra 
debpartial-mirror_0.3.1.tar.gz
 f24895010e58c99e1601ae1ac44f9d04 30750 net extra 
debpartial-mirror_0.3.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOuBD2AAoJEOtw/vPN/G5P0WAQAKCiW7Y1MKVLeHtOH/XUq0Fh
0PnDGJdB9BazjwPFvjAErW/wUS1NycJr0To8aa6FAw+vv1N1H6TxKW5iwLNypluv
B6JMC9Kdp4rGS9/+v+X02yMIpqSucXnwDP+9H2rFefEwA/G/kyGe5SLKSa/mMSsP
hCqz9APoZ1FHkMmNPAn/ge1wRzdbYeMr+pq73aWJoVxKmwMy0uUjQVfIV7VLJ3pD
fpM9sE2273CWFcNJx45I2AMP00JpaUZnIbw3xeB86lVWySd+BoyzHtNhlHPD3woJ
1FyLUnQ53bqvYFJEkNY3rp6tzblnBZIwifSR7h2d1VG44ib6K24mZMbsMuPVo8Nn
aXYG3To2x5L5CNQ5K+XPIhedScmeNr4kgcN/OxxJUgXoJ7Q2uQbR51a78XWSUeAY
E3pR1PLZMWFRZDjSMagzbIKrsJzS5HlxrWa8ocrPqu1fqy8j1gFSluR5BpCpxuz/
wDE0Q6uWWO/YSkehqZfYqKZivUtOZcQQWw49TI+JjmXOUVY5vQ8VMioy9TvRT0Sg
MRyxLDphvyJRNfqjMUuzGE7m8oFkoCoWKaOM6W8kPKPeC+VmCEoAef7HUtyQBMKX
AMrn6l4F/gAU4+v6p7eHZfcdn5ZjUw7rSNLqP0cvO1eRPVy4S7OLjFTBYlfzKqiK
ziZIIhYPkThdNQD4brYz
=kW5f
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to