From 9bf3fdec93fe427bb5f0bd39c986a4e977969f41 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 7 Jun 2011 13:38:48 +0200 Subject: First run in order to fix the remote handling. Cleaned up interfaces and figured out that the implementation really should be specific to the git command. This leaves the interface open for other implemntations which use a different way to provide feedback (as we do not make assumptions about the format of a feedback line) --- git/remote.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'git/remote.py') diff --git a/git/remote.py b/git/remote.py index f44f0150..47adedbf 100644 --- a/git/remote.py +++ b/git/remote.py @@ -13,15 +13,14 @@ from config import SectionConstraint from git.util import ( LazyMixin, Iterable, - IterableList, - RemoteProgress + IterableList ) from git.db.interface import TransportDB from refs import RemoteReference import os -__all__ = ('RemoteProgress', 'Remote') +__all__ = ['Remote'] class PushInfo(object): """Wrapper for basic PushInfo to provide the previous interface which includes @@ -268,7 +267,7 @@ class Remote(LazyMixin, Iterable): in their flags. If the operation fails completely, the length of the returned IterableList will be null.""" - return self.repo.push(self.name, refspec, progress, **Kwargs) + return self.repo.push(self.name, refspec, progress, **kwargs) @property def config_reader(self): -- cgit v1.2.3