git_config: fix _SaveJson typo

Change-Id: I35ca2b3733e6d1508669f9a6690c6645c582912e
This commit is contained in:
Anthony King 2015-06-03 17:02:26 +01:00 committed by David Pursehouse
parent be4456cf24
commit b1d1fd778d

View File

@ -280,7 +280,7 @@ class GitConfig(object):
finally: finally:
fd.close() fd.close()
except (IOError, TypeError): except (IOError, TypeError):
if os.path.exists(self.json): if os.path.exists(self._json):
os.remove(self._json) os.remove(self._json)
def _ReadGit(self): def _ReadGit(self):