Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hacksaar
Sphinx
Commits
6b78b1cc
Commit
6b78b1cc
authored
Oct 23, 2013
by
Ralf
Browse files
Traces of debugging tyshell
parent
92e7d7b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tyshell
View file @
6b78b1cc
...
...
@@ -7,6 +7,7 @@ import subprocess
import
socket
import
pwd
import
grp
import
traceback
from
collections
import
namedtuple
tuerSock
=
"/run/tuer.sock"
...
...
@@ -104,6 +105,7 @@ while True:
if
res
:
break
except
Exception
as
e
:
print
(
"Error while executing %s: %s"
%
(
command
[
0
],
str
(
e
)))
#print(traceback.format_exc())
else
:
# multiple commands fit the prefix
print
(
"Ambiguous command prefix, please choose one of the following:"
)
print
(
"
\t
"
,
" "
.
join
(
cmdoptions
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment