Skip to content
GitLab
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
242ef94f
Commit
242ef94f
authored
Aug 20, 2014
by
Leigh B Stoller
Browse files
Minor bug fixes, one of which was introduced back in 2009!
parent
0f704fc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
xmlrpc/emulabserver.py.in
View file @
242ef94f
...
...
@@ -892,7 +892,7 @@ class imageid:
# Get the listing that is accessible to this user and
res
=
DBQueryFatal
(
"SELECT distinct i.imagename,
i
v.description FROM images as i "
"SELECT distinct i.imagename,v.description FROM images as i "
"left join image_versions as v on "
" v.imageid=o.imageid and v.version=i.version "
"left join group_membership as g on g.pid=i.pid "
...
...
@@ -3474,8 +3474,8 @@ class node:
if
permerror
:
return
permerror
pid_clause_list
=
str
(
argdict
[
"proj"
])
pid_clause
=
" or p.pid='%s'"
%
(
pid_clause_list
,)
pid_clause_list
=
"'"
+
str
(
argdict
[
"proj"
])
+
"'"
pid_clause
=
" or p.pid='%s'"
%
(
str
(
argdict
[
"proj"
])
,)
pass
else
:
pid_clause_list
=
","
.
join
([(
"'"
+
x
+
"'"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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