export-orig: Consistently refer to the pristine-tar branch
authorAndrej Shadura <andrew.shadura@collabora.co.uk>
Sat, 3 Apr 2021 12:44:34 +0000 (14:44 +0200)
committerGuido Günther <agx@sigxcpu.org>
Fri, 17 Dec 2021 13:39:31 +0000 (14:39 +0100)
Since we’re checking pristine_tar_branch, not pristine_tar.branch,
use the same expression in the log even though it’s not supposed
to be different.

Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
gbp/scripts/export_orig.py

index cad8297badc4b735fbc5e80568f2961d57565b3d..7ceb423770dcc32ed46b41c937ce3c8da2b003ac 100755 (executable)
@@ -103,7 +103,7 @@ def pristine_tar_build_origs(repo, source, output_dir, options):
 
     if not repo.has_branch(repo.pristine_tar_branch):
         gbp.log.warn('Pristine-tar branch "%s" not found' %
-                     repo.pristine_tar.branch)
+                     repo.pristine_tar_branch)
 
     comp = Compressor(options.comp_type)
     pristine_tar_prepare_orig_tree(repo, source, options)