Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0feb379

Browse files
committed
Fix for an Issue #887
1 parent 5b0d741 commit 0feb379

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/takeover/xp_cmdshell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def xpCmdshellEvalCmd(self, cmd, first=None, last=None):
228228

229229
if output and isListLike(output) and len(output) > 1:
230230
_ = ""
231-
lines = [_ for _ in flattenValue(output) if _ is not None]
231+
lines = [line for line in flattenValue(output) if line is not None]
232232

233233
for i in xrange(len(lines)):
234234
line = lines[i] or ""

0 commit comments

Comments
 (0)