summaryrefslogtreecommitdiff
path: root/tests/depcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/depcache.py')
-rw-r--r--tests/depcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/depcache.py b/tests/depcache.py
index b199c812..19aba680 100644
--- a/tests/depcache.py
+++ b/tests/depcache.py
@@ -22,7 +22,7 @@ def main():
x = pkg.Name
# then get each version
ver =depcache.GetCandidateVer(pkg)
- if ver != None:
+ if ver is not None:
depcache.MarkInstall(pkg)
if depcache.InstCount == 0:
if depcache.IsUpgradable(pkg):