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 | f2da53c25b1bf917958e01af398faf03d09678c6 (patch) | |
tree | ec7a234cb7e01d88d0f43fa6e51133523c828dec /bin/list-queue | |
parent | dee0f0f64caeb15bd25650017b8e04a3c2894403 (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 |