summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorOdegard, Ken <ken.odegard@gmail.com>2017-07-25 10:09:52 -0500
committerOdegard, Ken <ken.odegard@gmail.com>2017-07-25 10:09:52 -0500
commit79a36a54b8891839b455c2f39c5d7bc4331a4e03 (patch)
treeda4cf1feb0819ddabdb88f474998956fd02192a2 /git/remote.py
parent2b3e769989c4928cf49e335f9e7e6f9465a6bf99 (diff)
downloadgitpython-79a36a54b8891839b455c2f39c5d7bc4331a4e03.tar.gz
Minor additional cleanup
Added additional information in the import warning/error that tells the user how to silence the warning/error. Also added a GIT_OK variable that allows for a quick check whether the refresh has succeeded instead of needing to test an actual git command.
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py
index b6ac66cb..39b72249 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -221,7 +221,8 @@ class FetchInfo(object):
@classmethod
def refresh(cls):
- """This gets called by the setup function (see the top level __init__).
+ """This gets called by the refresh function (see the top level
+ __init__).
"""
# clear the old values in _flag_map
try: