cc-4105: slightly improved handling of paths

This commit is contained in:
Rudi Grinberg 2012-07-31 12:06:18 -04:00
parent 9d5f50d1f8
commit ad12926af2
5 changed files with 23 additions and 6 deletions

View file

@ -21,6 +21,8 @@ class Bootstrapper(Loggable):
def flush_all(self, last_ran):
"""
bootstrap every single watched directory. only useful at startup
note that because of the way list_directories works we also flush
the import directory as well I think
"""
for d in self.db.list_directories():
self.flush_watch(d, last_ran)