From 79a36a54b8891839b455c2f39c5d7bc4331a4e03 Mon Sep 17 00:00:00 2001 From: "Odegard, Ken" Date: Tue, 25 Jul 2017 10:09:52 -0500 Subject: 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. --- git/remote.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'git/remote.py') 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: -- cgit v1.2.3