Do not format message before passing it to self.pl.warn
This commit is contained in:
parent
cd9811806c
commit
10665f4c7d
|
@ -196,7 +196,7 @@ class TreeStatusCache(dict):
|
||||||
if self.tw(key, ignore_event=getattr(repo, 'ignore_event', None)):
|
if self.tw(key, ignore_event=getattr(repo, 'ignore_event', None)):
|
||||||
self.pop(key, None)
|
self.pop(key, None)
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
self.pl.warn('Failed to check %s for changes, with error: %s' % key, e)
|
self.pl.warn('Failed to check {0} for changes, with error: {1}', key, str(e))
|
||||||
return self.cache_and_get(key, repo.status)
|
return self.cache_and_get(key, repo.status)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue