mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-12-14 00:24:05 +08:00
Even more coding style cleanup
Fixing some more pylint warnings: W1401: Anomalous backslash in string W0623: Redefining name 'name' from outer scope W0702: No exception type(s) specified E0102: name: function already defined line n Change-Id: I5afcdb4771ce210390a79981937806e30900a93c
This commit is contained in:
@@ -696,7 +696,7 @@ class _FetchTimes(object):
|
||||
try:
|
||||
try:
|
||||
self._times = pickle.load(f)
|
||||
except:
|
||||
except IOError:
|
||||
try:
|
||||
os.remove(self._path)
|
||||
except OSError:
|
||||
|
||||
Reference in New Issue
Block a user