summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-12-09 23:45:05 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-12-09 23:45:05 +0100
commitd83b27aed3097a8e25e8e56e2af796205f826270 (patch)
treee6fd034b00265a0102212e7b7888ec949432b44d
parent50bdce1a194d8a9ba5c1e2bc4fb622023d3009a3 (diff)
Python/pep8: fix E711 in filter/../pyAltFCFGMerge
Change-Id: I0c6fab8829ad7cc434791a0ef1743eb1d50417d9
-rwxr-xr-xfilter/source/config/tools/merge/pyAltFCFGMerge8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/config/tools/merge/pyAltFCFGMerge b/filter/source/config/tools/merge/pyAltFCFGMerge
index b05e37d9b32f..e09178dc6f39 100755
--- a/filter/source/config/tools/merge/pyAltFCFGMerge
+++ b/filter/source/config/tools/merge/pyAltFCFGMerge
@@ -247,8 +247,8 @@ def readprops(buff):
i += 1
- # no dlimiter was found, name is entire line, there is no value
- if name == None:
+ # no delimiter was found, name is entire line, there is no value
+ if name is None:
name = unescapestr(line.lstrip())
# skip delimiter
@@ -340,12 +340,12 @@ class ConfigHelper:
# Do it only, if a valid file name was given.
# But in case this file name is wrong, throw an exception.
# So the outside code can react!
- if sPropFile != None and len(sPropFile) > 0:
+ if sPropFile is not None and len(sPropFile) > 0:
self.props = Properties()
self.props.read(sPropFile)
count = 0
- if lCommandLineArgs != None:
+ if lCommandLineArgs is not None:
count = len(lCommandLineArgs)
self.m_bEmpty = (count < 1)