From: Claudio-Daniel Freire Date: Tue, 10 May 2011 08:57:53 +0000 (+0200) Subject: Minor strace fix (still commented though, so just fix commented code) X-Git-Tag: nepi_v2~58 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9e78bb64566287a39f8801902bb14c0f707ac644;p=nepi.git Minor strace fix (still commented though, so just fix commented code) --- diff --git a/src/nepi/util/server.py b/src/nepi/util/server.py index 1cfcea85..aa39343e 100644 --- a/src/nepi/util/server.py +++ b/src/nepi/util/server.py @@ -648,8 +648,7 @@ def popen_ssh_subprocess(python_code, host, port, user, agent, # We had to verify if strace works (cannot nest them) #cmd += "if strace echo >/dev/null 2>&1; then CMD='strace -ff -tt -s 200 -o strace.out'; else CMD=''; fi\n" #cmd += "$CMD " - #if self.mode == MODE_SSH: - # cmd += "strace -f -tt -s 200 -o strace$$.out " + #cmd += "strace -f -tt -s 200 -o strace$$.out " cmd += "python -c '" cmd += "import base64, os\n" cmd += "cmd = \"\"\n"