Hi Chris, On Wed, Nov 06, 2013 at 06:58:30PM +0000, Chris Lamb wrote: > Package: git-buildpackage > Version: 0.6.6 > Tags: patch > > There's an incorrect reference to gbp.log.warn in --git-dont-purge > handling. > > (It should be gbp.log.warn, not gbp.log.warning.) > > Patch attached.
Thanks for bringing this up! Since I confused this several times already I made gbp.log.err == gbp.log.err and gbp.log.warn == gbp.log.warning. Cheers, -- Guido > > > Regards, > > -- > ,''`. > : :' : Chris Lamb > `. `'` [email protected] > `- > diff --git a/gbp/scripts/buildpackage.py b/gbp/scripts/buildpackage.py > index b815c55..6e7ead4 100755 > --- a/gbp/scripts/buildpackage.py > +++ b/gbp/scripts/buildpackage.py > @@ -452,7 +452,7 @@ def parse_args(argv, prefix): > > # --git-dont-purge is deprecated: > if options.dont_purge: > - gbp.log.warning("--git-dont-purge is depreceted, use --git-no-purge > instead") > + gbp.log.warn("--git-dont-purge is depreceted, use --git-no-purge > instead") > options.purge = False > > return options, args, dpkg_args -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

