diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-19 04:47:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-19 04:50:23 +0300 |
commit | 8c378c52c83757b9e78d5a98581bf240ed31a1ec (patch) | |
tree | 4a44a8e7fab77f9f812a8940713f14dceeec512c /netrender/slave.py | |
parent | 57f376e9465c6b79ebd4409bc30e0b5930dd4140 (diff) |
Cleanup: identity for None comparison
Diffstat (limited to 'netrender/slave.py')
-rw-r--r-- | netrender/slave.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netrender/slave.py b/netrender/slave.py index a5d97172..3bb1578a 100644 --- a/netrender/slave.py +++ b/netrender/slave.py @@ -69,7 +69,7 @@ def testFile(conn, job_id, slave_id, rfile, job_prefix, main_path=None): found = os.path.exists(job_full_path) - if found and rfile.signature != None: + if found and rfile.signature is not None: found_signature = hashFile(job_full_path) found = found_signature == rfile.signature |