diff options
Diffstat (limited to 'git/util.py')
-rw-r--r-- | git/util.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/git/util.py b/git/util.py index 7cbef07f..b979e147 100644 --- a/git/util.py +++ b/git/util.py @@ -189,6 +189,7 @@ class RemoteProgress(object): # END end message handling self.update(op_code, cur_count, max_count, message) + self(message) # END for each sub line return failed_lines @@ -221,6 +222,13 @@ class RemoteProgress(object): You may read the contents of the current line in self._cur_line""" pass + + def __call__(self, message): + """Same as update, but with a simpler interface which only provides the + message of the operation + :note: This method will be called in addition to the update method. It is + up to you which one you implement""" + pass class Actor(object): |