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:
4e73796
)
fix call to update
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 1 Oct 2012 20:47:16 +0000
(16:47 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 1 Oct 2012 20:47:16 +0000
(16:47 -0400)
PLC/Slices.py
patch
|
blob
|
history
diff --git
a/PLC/Slices.py
b/PLC/Slices.py
index
eb8cc7b
..
b594909
100644
(file)
--- a/
PLC/Slices.py
+++ b/
PLC/Slices.py
@@
-91,7
+91,7
@@
class Slice(AlchemyObj):
# slice.delete(commit)
AlchemyObj.insert(self, dict(self))
else:
- AlchemyObj.update(self,
self['slice_id']
, dict(self))
+ AlchemyObj.update(self,
{'slice_id': self['slice_id']}
, dict(self))
def delete(self, commit = True):
"""