git://git.onelab.eu
/
pcucontrol.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unnecessary 'print's
[pcucontrol.git]
/
pcucontrol
/
transports
/
pyssh
/
__init__.py
diff --git
a/pcucontrol/transports/pyssh/__init__.py
b/pcucontrol/transports/pyssh/__init__.py
index
0c5cf4f
..
b64b9db
100644
(file)
--- a/
pcucontrol/transports/pyssh/__init__.py
+++ b/
pcucontrol/transports/pyssh/__init__.py
@@
-15,7
+15,7
@@
version 0.1 of pyssh (http://pyssh.sourceforge.net) by Chuck Esterbrook.
Licenced under a Python 2.2 style license. See License.txt.
\r
"""
\r
\r
Licenced under a Python 2.2 style license. See License.txt.
\r
"""
\r
\r
-DEBUG_LEVEL =
1
\r
+DEBUG_LEVEL =
0
\r
\r
import os, getpass
\r
import signal # should cause all KeyboardInterrupts to go to the main thread
\r
\r
import os, getpass
\r
import signal # should cause all KeyboardInterrupts to go to the main thread
\r
@@
-162,8
+162,8
@@
class Ssh:
sshargs += self.host
\r
if cmd:
\r
sshargs += ' ' + cmd
\r
sshargs += self.host
\r
if cmd:
\r
sshargs += ' ' + cmd
\r
- if self.debuglevel:
\r
- print ">> Running %s %s." % (self.sshpath, sshargs)
\r
+
#
if self.debuglevel:
\r
+
#
print ">> Running %s %s." % (self.sshpath, sshargs)
\r
# temporary workaround until I get pid's working under win32
\r
#print sshargs
\r
if os.name == 'posix':
\r
# temporary workaround until I get pid's working under win32
\r
#print sshargs
\r
if os.name == 'posix':
\r