git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- re-enable return_fields specification
[plcapi.git]
/
PLC
/
Methods
/
DeleteSite.py
diff --git
a/PLC/Methods/DeleteSite.py
b/PLC/Methods/DeleteSite.py
index
28bfcee
..
d56d711
100644
(file)
--- a/
PLC/Methods/DeleteSite.py
+++ b/
PLC/Methods/DeleteSite.py
@@
-33,7
+33,7
@@
class DeleteSite(Method):
if not sites:
raise PLCInvalidArgument, "No such site"
- site = sites
.values()
[0]
+ site = sites[0]
site.delete()
return 1