Minor strace fix (still commented though, so just fix commented code)
authorClaudio-Daniel Freire <claudio-daniel.freire@inria.fr>
Tue, 10 May 2011 08:57:53 +0000 (10:57 +0200)
committerClaudio-Daniel Freire <claudio-daniel.freire@inria.fr>
Tue, 10 May 2011 08:57:53 +0000 (10:57 +0200)
src/nepi/util/server.py

index 1cfcea8..aa39343 100644 (file)
@@ -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"