From d83b27aed3097a8e25e8e56e2af796205f826270 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 9 Dec 2012 23:45:05 +0100 Subject: Python/pep8: fix E711 in filter/../pyAltFCFGMerge Change-Id: I0c6fab8829ad7cc434791a0ef1743eb1d50417d9 --- filter/source/config/tools/merge/pyAltFCFGMerge | 8 ++++---- 1 file 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) -- cgit