On Fri, Feb 27, 2009 at 01:08:04PM +0200, Damyan Ivanov wrote:
> Package: git-buildpackage
> Version: 0.4.49
> Severity: normal
> File: /usr/bin/git-dch
> 
> gi-dch bails with exception when filling a default option value:
> 
> $ git-dch
> Traceback (most recent call last):
>   File "/usr/bin/git-dch", line 382, in <module>
>     sys.exit(main(sys.argv))
>   File "/usr/bin/git-dch", line 294, in main
>     commit_group.add_boolean_config_file_option(option_name="full", 
> dest="full")
>   File "/usr/lib/pymodules/python2.5/gbp/config.py", line 188, in
> add_boolean_config_file_option
>     self.add_config_file_option(option_name=option_name, dest=dest, 
> action="store_true")
>   File "/usr/lib/pymodules/python2.5/gbp/config.py", line 184, in 
> add_config_file_option
>     default=self.parser.get_default(option_name, **kwargs),
>   File "/usr/lib/pymodules/python2.5/gbp/config.py", line 144, in get_default
>     default = self._get_bool_default(option_name)
>   File "/usr/lib/pymodules/python2.5/gbp/config.py", line 138, in 
> _get_bool_default
>     raise ValueError, "Boolean options must be True or False"
> ValueError: Boolean options must be True or False
Please check your configs. This indicates you've set 

full = ...

somehwere in:

/etc/git-buildpackage/gbp.conf
~/.gbp.conf
<repo>/debian/gbp.conf
<repo>/.gbp.conf

and "..." is not True of False which it must be.
Cheers,
 -- Guido



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to