From db9642ba2d91bb40dcc157dd301e925d5ddedd9e Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sun, 23 Oct 2011 13:47:01 +0200 Subject: Replace GitFetch by GitRepository.fetch() --- gbp-pull | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gbp-pull') diff --git a/gbp-pull b/gbp-pull index 8bb9ba5..cb7d5ef 100755 --- a/gbp-pull +++ b/gbp-pull @@ -22,7 +22,7 @@ import sys import os, os.path -from gbp.command_wrappers import (GitFetch, Command, +from gbp.command_wrappers import (Command, CommandExecFailed, PristineTar) from gbp.config import (GbpOptionParser, GbpOptionGroup) from gbp.errors import GbpError @@ -109,7 +109,7 @@ def main(argv): gbp.log.err(out) raise GbpError - GitFetch()() + repo.fetch() for branch in branches: if not fast_forward_branch(branch, repo, options): retval = 2 -- cgit v1.2.3