BF: simplify

This commit is contained in:
Daniel Black 2013-09-29 15:49:45 +10:00
parent 86d3ee5373
commit 6224d761ab

View file

@ -359,7 +359,7 @@ class Action:
#@staticmethod
def executeCmd(realCmd):
logSys.debug(realCmd)
if realCmd is None or realCmd == "":
if not realCmd:
logSys.debug("Nothing to do")
return True