mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 08:14:41 +02:00
Return False in place of None to indicate absense of changes
Fixes #1052: another part of it
This commit is contained in:
parent
ad519b5e91
commit
a2c6d79b2f
@ -129,6 +129,7 @@ class UvFileWatcher(UvWatcher):
|
|||||||
if path not in self.watches:
|
if path not in self.watches:
|
||||||
self.watch(path)
|
self.watch(path)
|
||||||
return True
|
return True
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
class UvTreeWatcher(UvWatcher):
|
class UvTreeWatcher(UvWatcher):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user