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 | 7b8b1ffd7374ca4a98dbf6e756bf97861b2182c1 (patch) | |
tree | ba6ae076648f5bd9da32e2c06cf003773d76d908 /bin/list-queue | |
parent | 0ffc93107fd5d29385f890d2705022ffdecb2e9f (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 |