dput allows the use of True and False instead of 0/1 for boolean values
in it's configuration file. dput-ng throws the following exception at
this:
Traceback (most recent call last):
File "/usr/bin/dput", line 106, in <module>
upload_package(changes, args)
File "/usr/lib/python2.7/dist-packages/dput/uploader.py", line 273, in invoke_dput
profile = dput.profile.load_profile(args.host)
File "/usr/lib/python2.7/dist-packages/dput/profile.py", line 197, in load_profile
return config.get_config(host)
File "/usr/lib/python2.7/dist-packages/dput/profile.py", line 148, in get_config
validate_object('config', ret, 'profiles/%s' % (name))
File "/usr/lib/python2.7/dist-packages/dput/util.py", line 212, in validate_object
raise ex
dput.exceptions.InvalidConfigError: Error with config file profiles/XXXXXX - Value 'True' for field 'allow_unsigned_uploads' is not of type boolean
This can be worked around by replacing all True values with 1 and all False values
with 0, but it would be nice if dput-ng fully supported the old config file format.
Gaudenz