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:
c61e9ae
)
fix call to update
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 1 Oct 2012 20:46:12 +0000
(16:46 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 1 Oct 2012 20:46:12 +0000
(16:46 -0400)
PLC/Sites.py
patch
|
blob
|
history
diff --git
a/PLC/Sites.py
b/PLC/Sites.py
index
873ebe6
..
79f5bb1
100644
(file)
--- a/
PLC/Sites.py
+++ b/
PLC/Sites.py
@@
-61,7
+61,7
@@
class Site(AlchemyObj):
AlchemyObj.insert(self, dict(self))
else:
self.object = self.api.client_shell.keystone.tenants.update(self['tenant_id'], **nova_site)
- AlchemyObj.update(self, dict(self))
+ AlchemyObj.update(self,
{'site_id': self['site_id']},
dict(self))
def delete(self, commit=True):
# delete nova object