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.


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

Attachment: signature.asc
Description: PGP signature

Reply via email to