[Piuparts-devel] Bug#519192: Patch for this bug

chaica chaica at ohmytux.com
Fri Apr 17 17:49:22 UTC 2009


tags 519192 patch
stop

Hi,

In piuparts-slave.py, config["distro"] and
config["upgrade-test-distros"] have a default value of None, you can not
mix None and list in Python, that's why we have this error. 

When you comment the both lines in piuparts-slave.conf:
#upgrade-test-distros = etch lenny sid
#upgrade-test-chroot-tgz = etch.tar.gz
we use default values (None) so we have to check everywhere we don't use
these variables when they have a None value.

Here is a patch to solve this issue.

Regards,
Carl Chenet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow-commented-upgrade-test-distros-in-piuparts-slave-conf.patch
Type: text/x-patch
Size: 2017 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20090417/b9f1b9d4/attachment.bin>


More information about the Piuparts-devel mailing list