ENH: dont execute empty commands

pull/370/head
Daniel Black 11 years ago
parent 13a12589a3
commit 4d1c060e21

@ -359,6 +359,10 @@ class Action:
#@staticmethod
def executeCmd(realCmd):
logSys.debug(realCmd)
if realCmd is None or realCmd == "":
logSys.debug("Nothing to do")
return True
_cmd_lock.acquire()
try: # Try wrapped within another try needed for python version < 2.5
try:

Loading…
Cancel
Save