Fix for an Issue #887

This commit is contained in:
Miroslav Stampar 2014-10-31 16:39:29 +01:00
parent 5b0d74146e
commit 0feb379b47

View File

@ -228,7 +228,7 @@ class Xp_cmdshell:
if output and isListLike(output) and len(output) > 1: if output and isListLike(output) and len(output) > 1:
_ = "" _ = ""
lines = [_ for _ in flattenValue(output) if _ is not None] lines = [line for line in flattenValue(output) if line is not None]
for i in xrange(len(lines)): for i in xrange(len(lines)):
line = lines[i] or "" line = lines[i] or ""