use discard instead of removein the missing_paths set

This commit is contained in:
Łukasz Langa 2013-02-12 09:56:19 +01:00
parent de52daceaa
commit 6904612d97

View File

@ -93,7 +93,7 @@ def run(verbosity=1):
"%Y-%m-%d %H:%M:%S%z"
)
p_uni = p.decode('utf8')
missing_paths.remove(p_uni)
missing_paths.discard(p_uni)
cur.execute('SELECT mtime, hash, timestamp FROM bitrot WHERE '
'path=?', (p_uni,))
row = cur.fetchone()