projects
/
snf-occi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ab242
)
Minor fixes
author
John Giannelos
<johngiannelos@gmail.com>
Wed, 2 May 2012 09:22:54 +0000
(12:22 +0300)
committer
John Giannelos
<johngiannelos@gmail.com>
Wed, 2 May 2012 09:22:54 +0000
(12:22 +0300)
snfOCCI/compute.py
patch
|
blob
|
history
diff --git
a/snfOCCI/compute.py
b/snfOCCI/compute.py
index
2810594
..
5aee3f8
100644
(file)
--- a/
snfOCCI/compute.py
+++ b/
snfOCCI/compute.py
@@
-16,10
+16,10
@@
class MyBackend(KindBackend, ActionBackend):
# Updating and Replacing compute instances not supported by Cyclades
def update(self, old, new, extras):
- raise AttributeError("This action is currently no applicable.")
+ raise HTTPError(501, "Update is currently no applicable")
def replace(self, old, new, extras):
- raise AttributeError("This action is currently no applicable.")
+ raise HTTPError(501, "Replace is currently no applicable")
class ComputeBackend(MyBackend):