aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/create_remote_repo.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-01-13 09:07:19 +0100
committerGuido Günther <agx@sigxcpu.org>2012-01-22 19:45:26 +0100
commit5b5dbf61244708d9d234a3ef90ce85cd4f35f259 (patch)
tree4ac0abfab8629011418c4bc6852b423295b1a2f3 /gbp/scripts/create_remote_repo.py
parent63b24cef4db5277eff7b38bbe359fc30f9d28b90 (diff)
PristineTar: move to separate module
and make it accessible from GitRepository to group checkout/checkin/lookup.
Diffstat (limited to 'gbp/scripts/create_remote_repo.py')
-rw-r--r--gbp/scripts/create_remote_repo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gbp/scripts/create_remote_repo.py b/gbp/scripts/create_remote_repo.py
index 09158252..d00963c8 100644
--- a/gbp/scripts/create_remote_repo.py
+++ b/gbp/scripts/create_remote_repo.py
@@ -27,7 +27,7 @@ import subprocess
import tty, termios
import re
from gbp.deb.changelog import ChangeLog, NoChangeLogError
-from gbp.command_wrappers import (CommandExecFailed, PristineTar, GitCommand)
+from gbp.command_wrappers import (CommandExecFailed, GitCommand)
from gbp.config import (GbpOptionParser, GbpOptionGroup)
from gbp.errors import GbpError
from gbp.git import (GitRepositoryError, GitRepository)
@@ -177,8 +177,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 ]
try:
cp = ChangeLog(filename=changelog)