From 5b5dbf61244708d9d234a3ef90ce85cd4f35f259 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 13 Jan 2012 09:07:19 +0100 Subject: PristineTar: move to separate module and make it accessible from GitRepository to group checkout/checkin/lookup. --- gbp/scripts/create_remote_repo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gbp/scripts/create_remote_repo.py') 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) -- cgit v1.2.3