def __collect_strings(self): # {{{4
    count = self.conn.execute('DELETE FROM strings WHERE id NOT IN (SELECT name FROM tree)').rowcount
    if count > 0:
      self.should_vacuum = True
      return "Cleaned up %i unused path segment%s in %%s." % (count, count != 1 and 's' or '')
dataset/ETHPy150Open xolox/dedupfs/dedupfs.py/DedupFS.__collect_strings/original