def synchronize(self): timestamp = self.is_modified() if timestamp: daemon_log.info('found modified files in %s' % self.path) sync = Sync(path=self.path) sync.sync() # Since we got a modified file, update the DB: self.store_timestamp(timestamp)