Your message dated Thu, 21 Sep 2006 10:02:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#388465: fixed in debpartial-mirror 0.2.94
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: debpartial-mirror
Version: 0.2.93
Severity: normal
Tags: patch

The method Config.check_depencencies uses an inexistent variable
'section'. This makes debpartial-mirror crash with a NameError python
exception when some backend uses an inexistent backend in its
'resolve_dep_using' option.

[EMAIL PROTECTED]:~/hacking/src/debpartial-mirror/debpartial-mirror-0.2.93$ 
./debpartial-mirror -c mirror.conf all
Traceback (most recent call last):
  File "./debpartial-mirror", line 246, in ?
    main()
  File "./debpartial-mirror", line 208, in main
    (cnf_mirrors, cnf_merges) = cnf.get_backends()
  File 
"/home/terceiro/hacking/src/debpartial-mirror/debpartial-mirror-0.2.93/debpartial_mirror/Config.py",
 line 342, in get_backends
    self.check_dependencies(backend)
  File 
"/home/terceiro/hacking/src/debpartial-mirror/debpartial-mirror-0.2.93/debpartial_mirror/Config.py",
 line 336, in check_dependencies
    raise InvalidSection(section)
NameError: global name 'section' is not defined

The attached patch fixes the problem.

-- 
Antonio S. de A. Terceiro <[EMAIL PROTECTED]>
http://people.softwarelivre.org/~terceiro/
GnuPG ID: E6F73C30


Index: debpartial_mirror/Config.py
===================================================================
--- debpartial_mirror/Config.py (revisão 740)
+++ debpartial_mirror/Config.py (cópia de trabalho)
@@ -333,7 +333,7 @@
         dependencies = self.get_dependencies(backend)
         for dependency in dependencies:
             if dependency not in self.backends.keys():
-                raise InvalidSection(section)
+                raise InvalidSection(dependency)

     def get_backends(self):


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

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.2.94.dsc
  to pool/main/d/debpartial-mirror/debpartial-mirror_0.2.94.dsc
debpartial-mirror_0.2.94.tar.gz
  to pool/main/d/debpartial-mirror/debpartial-mirror_0.2.94.tar.gz
debpartial-mirror_0.2.94_all.deb
  to pool/main/d/debpartial-mirror/debpartial-mirror_0.2.94_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: SHA1

Format: 1.7
Date: Thu, 21 Sep 2006 13:46:36 -0300
Source: debpartial-mirror
Binary: debpartial-mirror
Architecture: source all
Version: 0.2.94
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: 388463 388465
Changes: 
 debpartial-mirror (0.2.94) unstable; urgency=low
 .
   [ Otavio Salvador ]
   * Applied patch from "Antonio S. de A. Terceiro"
     <[EMAIL PROTECTED]> to fix a wrong variable name. Closes: #388465
   * Applied patch from "Antonio S. de A. Terceiro"
     <[EMAIL PROTECTED]> to fix the dependency checking of
     backends. Closes: #388463
 .
   [ Tiago Bortoletto Vaz ]
   * More changes in Pool.py, that didn't use full paths to compare unneeded
     files then removing needed ones.
   * Cleaning Pool.py code.
Files: 
 7d25c3e5f91558db3c7afc204ff4e2d9 631 net extra debpartial-mirror_0.2.94.dsc
 c49092b96359e7b17202b78833ec2c6e 89588 net extra 
debpartial-mirror_0.2.94.tar.gz
 cb8107a9fe9933c4743407b2475722d5 24008 net extra 
debpartial-mirror_0.2.94_all.deb

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

iD8DBQFFEsIWLqiZQEml+FURAuQIAJ9I0+Iq5HdD3EdGuoPcwCH4VZk39wCffqJf
AlC/8ieNSiKPRj+Ii9kdqQ0=
=9pEC
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to