aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bachelier <laurent@bachelier.name>2014-08-22 20:14:01 +0200
committerLaurent Bachelier <laurent@bachelier.name>2014-08-22 20:14:01 +0200
commit01049deb95366953f368b49aca12f0b512028fe1 (patch)
tree2f6034cfd4fbafcf2e38972210a54cd3342f763d
parentRemove Python 2.5 support (diff)
downloadconfman-01049deb95366953f368b49aca12f0b512028fe1.tar.xz
Style fixes
-rw-r--r--confman.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/confman.py b/confman.py
index bb4c34e..017a70c 100644
--- a/confman.py
+++ b/confman.py
@@ -296,11 +296,11 @@ class ProgrammableAction(Action):
else:
raise ActionException(self, "Unknown result")
- if not self.proxy is None:
+ if self.proxy is not None:
return self.proxy.check()
def sync(self):
- if not self.proxy is None:
+ if self.proxy is not None:
return self.proxy.sync()
def __repr__(self):