diff options
Diffstat (limited to 'git/remote.py')
-rw-r--r-- | git/remote.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/remote.py b/git/remote.py index e5480d0e..60319ce1 100644 --- a/git/remote.py +++ b/git/remote.py @@ -208,7 +208,7 @@ class FetchInfo(object): NEW_TAG, NEW_HEAD, HEAD_UPTODATE, TAG_UPDATE, REJECTED, FORCED_UPDATE, \ FAST_FORWARD, ERROR = [1 << x for x in range(8)] - re_fetch_result = re.compile('^\s*(.) (\[?[\w\s\.$@]+\]?)\s+(.+) -> ([^\s]+)( \(.*\)?$)?') + re_fetch_result = re.compile(r'^\s*(.) (\[?[\w\s\.$@]+\]?)\s+(.+) -> ([^\s]+)( \(.*\)?$)?') _flag_map = {'!': ERROR, '+': FORCED_UPDATE, @@ -391,7 +391,7 @@ class Remote(LazyMixin, Iterable): def __getattr__(self, attr): """Allows to call this instance like - remote.special( \*args, \*\*kwargs) to call git-remote special self.name""" + remote.special( \\*args, \\*\\*kwargs) to call git-remote special self.name""" if attr == "_config_reader": return super(Remote, self).__getattr__(attr) |