Bug#586443: [Piuparts-devel] Bug#586443: Bug#586443: Bug#586443: piuparts: python DeprecationWarning (sets / debian_bundle)

2010-06-21 Thread Holger Levsen
tags 586443 + pending thanks Hi John, On Sonntag, 20. Juni 2010, John Wright wrote: > Sorry, yes, it's unrelated to the python-debian debian_bundle > deprecation. Python < 2.4 didn't have a built-in set type, hence the > import sets business (I wrote that chunk to be compatible with python2.3 >

Bug#586443: [Piuparts-devel] Bug#586443: Bug#586443: piuparts: python DeprecationWarning (sets / debian_bundle)

2010-06-20 Thread John Wright
Hi Holger, On Sun, Jun 20, 2010 at 09:46:02AM +0200, Holger Levsen wrote: > Hi John, > > On Sonntag, 20. Juni 2010, John Wright wrote: > > Sorry; we (the python-debian team) probably should have given some time > > where loading debian_bundle didn't raise a DeprecationWarning. Anyway, > > the a

Bug#586443: [Piuparts-devel] Bug#586443: Bug#586443: piuparts: python DeprecationWarning (sets / debian_bundle)

2010-06-20 Thread Holger Levsen
Hi John, On Sonntag, 20. Juni 2010, John Wright wrote: > Sorry; we (the python-debian team) probably should have given some time > where loading debian_bundle didn't raise a DeprecationWarning. Anyway, > the attached patch should squelch both warnings. Thanks you for that. The "import sets" ch

Bug#586443: [Piuparts-devel] Bug#586443: Bug#586443: piuparts: python DeprecationWarning (sets / debian_bundle)

2010-06-19 Thread John Wright
tags 586443 + patch thanks On Sat, Jun 19, 2010 at 07:14:29PM +0200, Holger Levsen wrote: > Hi Roland, > > thanks for your bugreport! > > On Samstag, 19. Juni 2010, Roland Stigge wrote: > > # piuparts asp_1.8-7_i386.changes > > /usr/sbin/piuparts:48: DeprecationWarning: the sets module is deprec

Bug#586443: [Piuparts-devel] Bug#586443: piuparts: python DeprecationWarning (sets / debian_bundle)

2010-06-19 Thread Roland Stigge
Hi Holger! On 19/06/10 19:14, Holger Levsen wrote: > the problem is that piuparts.d.o runs piuparts on lenny, where no > debian_bundle exists. > > I assume the module should be loaded conditionally. Sounds like a good solution. bye, Roland -- To UNSUBSCRIBE, email to debian-bugs-dist-re

Bug#586443: [Piuparts-devel] Bug#586443: piuparts: python DeprecationWarning (sets / debian_bundle)

2010-06-19 Thread Holger Levsen
Hi Roland, thanks for your bugreport! On Samstag, 19. Juni 2010, Roland Stigge wrote: > # piuparts asp_1.8-7_i386.changes > /usr/sbin/piuparts:48: DeprecationWarning: the sets module is deprecated > import sets > /usr/sbin/piuparts:53: DeprecationWarning: please use 'debian' instead of > 'debia

Bug#586443: piuparts: python DeprecationWarning (sets / debian_bundle)

2010-06-19 Thread Roland Stigge
Package: piuparts Version: 0.38 Severity: normal Hi, consider: # piuparts asp_1.8-7_i386.changes /usr/sbin/piuparts:48: DeprecationWarning: the sets module is deprecated import sets /usr/sbin/piuparts:53: DeprecationWarning: please use 'debian' instead of 'debian_bundle' from debian_bundle