git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a94f28
)
- deleted no longer included in the Site.fields definition
author
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 3 Oct 2006 19:30:03 +0000
(19:30 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 3 Oct 2006 19:30:03 +0000
(19:30 +0000)
- no need to specify return_fields when instantiating Sites()
PLC/Methods/AdmGetSites.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/AdmGetSites.py
b/PLC/Methods/AdmGetSites.py
index
c544fb1
..
87467a3
100644
(file)
--- a/
PLC/Methods/AdmGetSites.py
+++ b/
PLC/Methods/AdmGetSites.py
@@
-40,7
+40,7
@@
class AdmGetSites(Method):
raise PLCInvalidArgument, "Invalid return field specified"
# Get site information
- sites = Sites(self.api, site_id_or_login_base_list
, return_fields
)
+ sites = Sites(self.api, site_id_or_login_base_list)
# Filter out undesired or None fields (XML-RPC cannot marshal
# None) and turn each site into a real dict.