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:
4ffd93f
)
Fix, update the dummynet key.
author
Marta Carbone
<marta@prova.iet.unipi.it>
Thu, 23 Apr 2009 16:04:41 +0000
(16:04 +0000)
committer
Marta Carbone
<marta@prova.iet.unipi.it>
Thu, 23 Apr 2009 16:04:41 +0000
(16:04 +0000)
PLC/Methods/GetDummyBoxMedium.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/GetDummyBoxMedium.py
b/PLC/Methods/GetDummyBoxMedium.py
index
fd5d3e1
..
fb5297e
100644
(file)
--- a/
PLC/Methods/GetDummyBoxMedium.py
+++ b/
PLC/Methods/GetDummyBoxMedium.py
@@
-156,8
+156,8
@@
class GetDummyBoxMedium(Method):
os.system("rm %s" % (lockfile))
# if all goes fine store the key in the database
- dummybox['key'] = new_key
- dummybox.sync()
+ dummybox
_info
['key'] = new_key
+ dummybox
_info
.sync()
# return the file's content base64-encoded
result = file(IMAGE_NAME).read()