summaryrefslogtreecommitdiff
path: root/examples/python/dbus/checkpoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python/dbus/checkpoint.py')
-rwxr-xr-xexamples/python/dbus/checkpoint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/dbus/checkpoint.py b/examples/python/dbus/checkpoint.py
index 62c7573b8c..1ea1b1a7fc 100755
--- a/examples/python/dbus/checkpoint.py
+++ b/examples/python/dbus/checkpoint.py
@@ -41,7 +41,7 @@ devList = []
for arg in sys.argv[2:]:
path = GetDevicePath(arg)
- if path == None:
+ if path is None:
raise Exception("NetworkManager knows nothing about %s" % arg)
else:
devList.append(path)