aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/pull.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/scripts/pull.py')
-rwxr-xr-xgbp/scripts/pull.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/gbp/scripts/pull.py b/gbp/scripts/pull.py
index face2cc1..5dc1b607 100755
--- a/gbp/scripts/pull.py
+++ b/gbp/scripts/pull.py
@@ -21,8 +21,7 @@
import sys
import os, os.path
-from gbp.command_wrappers import (Command,
- CommandExecFailed, PristineTar)
+from gbp.command_wrappers import (Command, CommandExecFailed)
from gbp.config import (GbpOptionParser, GbpOptionGroup)
from gbp.errors import GbpError
from gbp.git import (GitRepositoryError, GitRepository)
@@ -105,8 +104,8 @@ def main(argv):
if repo.has_branch(branch):
branches += [ branch ]
- if repo.has_branch(PristineTar.branch) and options.pristine_tar:
- branches += [ PristineTar.branch ]
+ if repo.has_pristine_tar_branch() and options.pristine_tar:
+ branches += [ repo.pristine_tar_branch ]
(ret, out) = repo.is_clean()
if not ret: