Syntax change to make the code more "pythonyst"
This commit is contained in:
parent
d977cfb2ef
commit
7a7d60ce92
21 changed files with 138 additions and 137 deletions
|
|
@ -38,7 +38,7 @@ class file_copy(devedeng.executor.executor):
|
|||
|
||||
def process_stdout(self,data):
|
||||
|
||||
if (data == None) or (len(data) == 0):
|
||||
if (data is None) or (len(data) == 0):
|
||||
return
|
||||
if (data[0].startswith("Copied ")):
|
||||
pos = data[0].find("%")
|
||||
|
|
@ -51,4 +51,4 @@ class file_copy(devedeng.executor.executor):
|
|||
|
||||
def process_stderr(self,data):
|
||||
|
||||
return
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue