summaryrefslogtreecommitdiffstats
path: root/bin/list-queue
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2018-06-18 17:11:31 +1000
committerBrian May <brian@linuxpenguins.xyz>2018-07-15 09:03:43 +1000
commitf2da53c25b1bf917958e01af398faf03d09678c6 (patch)
treeec7a234cb7e01d88d0f43fa6e51133523c828dec /bin/list-queue
parentdee0f0f64caeb15bd25650017b8e04a3c2894403 (diff)
Replace <> with != for Python 3.6 compatibility
Diffstat (limited to 'bin/list-queue')
-rwxr-xr-xbin/list-queue2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/list-queue b/bin/list-queue
index 5375493d54..2a5e4dec60 100755
--- a/bin/list-queue
+++ b/bin/list-queue
@@ -109,7 +109,7 @@ def deletepaths(db, table, paths):
def prepareupdate(db, ondisk, indb, table):
need_update = [(path, stat) for (path, stat) in ondisk.items()
- if path not in indb or stat <> tuple(indb[path][0:2])]
+ if path not in indb or stat != tuple(indb[path][0:2])]
db.executemany("DELETE FROM " + table + " WHERE path = ?",
((path,) for path, _ in need_update))
return need_update

© 2014-2024 Faster IT GmbH | imprint | privacy policy