summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-09-27 16:05:58 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-09-28 03:35:38 +0200
commite61439b3018b0b9a8eb43e59d0d7cf32041e2fed (patch)
tree864b8c57283d3167b192b69bd17e366252ebee15 /git/remote.py
parentdf2fb548040c8313f4bb98870788604bc973fa18 (diff)
downloadgitpython-e61439b3018b0b9a8eb43e59d0d7cf32041e2fed.tar.gz
src: constify is_<platform>() calls
+ TCs: unittest-asserts for git-tests.
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py
index 19deefb7..7a7b4840 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -376,7 +376,7 @@ class Remote(LazyMixin, Iterable):
self.repo = repo
self.name = name
- if is_win():
+ if is_win:
# some oddity: on windows, python 2.5, it for some reason does not realize
# that it has the config_writer property, but instead calls __getattr__
# which will not yield the expected results. 'pinging' the members