git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
decorators maintain __name__ in returned function so that these steps can be ignored
[tests.git]
/
system
/
TestSsh.py
diff --git
a/system/TestSsh.py
b/system/TestSsh.py
index
e07d97e
..
595df8f
100644
(file)
--- a/
system/TestSsh.py
+++ b/
system/TestSsh.py
@@
-29,9
+29,9
@@
class TestSsh:
result=''
for char in command:
if char in "\\\"'<>&|;()$*~":
- result +='\\'+char
+ result +=
'\\'+char
else:
- result +=char
+ result +=
char
return result
# check main IP address against the provided hostname