| Index: watchlists.py
|
| diff --git a/watchlists.py b/watchlists.py
|
| index 9d38faf49f8fc8cd1979a05e7a0c487b425fb217..57b810cb179f0c3ecc02392032848b4e5ed8f795 100755
|
| --- a/watchlists.py
|
| +++ b/watchlists.py
|
| @@ -106,9 +106,11 @@ class Watchlists(object):
|
| for path in paths:
|
| path = path.replace(os.sep, '/')
|
| for name, rule in self._defns.iteritems():
|
| - if name not in self._watchlists: continue
|
| + if name not in self._watchlists:
|
| + continue
|
| rex_str = rule.get('filepath')
|
| - if not rex_str: continue
|
| + if not rex_str:
|
| + continue
|
| if re.search(rex_str, path):
|
| map(watchers.add, self._watchlists[name])
|
| return list(watchers)
|
|
|