diff options
author | Brian May <brian@linuxpenguins.xyz> | 2018-06-18 17:11:31 +1000 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2018-07-15 09:03:43 +1000 |
commit | 7d08ad9158507856c31222fbbd12b2f8ba238c4d (patch) | |
tree | 0af73b104c364b6c1d1bd58a77ad19b168823a7f /bin/list-queue | |
parent | e76615770ebaa46808ff548412d3b508919f6497 (diff) |
Replace <> with != for Python 3.6 compatibility
Diffstat (limited to 'bin/list-queue')
-rwxr-xr-x | bin/list-queue | 2 |
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 |