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
emulab
emulab-devel
Commits
23b4ab52
Commit
23b4ab52
authored
Mar 24, 2009
by
Gary Wong
Browse files
Fix bug where debug mode would fail for do_method with URI but no module.
parent
07648bc9
Changes
1
Show whitespace changes
Inline
Side-by-side
protogeni/test/test-common.py
View file @
23b4ab52
...
...
@@ -117,7 +117,10 @@ def PassPhraseCB(v, prompt1='Enter passphrase:', prompt2='Verify passphrase:'):
#
def
do_method
(
module
,
method
,
params
,
URI
=
None
,
quiet
=
False
):
if
debug
:
if
module
:
print
module
+
" "
+
method
+
" "
+
str
(
params
);
else
:
print
URI
+
" "
+
method
+
" "
+
str
(
params
);
pass
if
not
os
.
path
.
exists
(
CERTIFICATE
):
...
...
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