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
This commit was manufactured by cvs2svn to create branch
[plcapi.git]
/
PLC
/
Methods
/
SliceCreate.py
diff --git
a/PLC/Methods/SliceCreate.py
b/PLC/Methods/SliceCreate.py
index
668f46d
..
cc30b52
100644
(file)
--- a/
PLC/Methods/SliceCreate.py
+++ b/
PLC/Methods/SliceCreate.py
@@
-20,8
+20,6
@@
class SliceCreate(AddSlice):
returns = Parameter(int, 'New slice_id (> 0) if successful')
- object_type = 'Slice'
-
def call(self, auth, name, slice_fields = {}):
slice_fields['name'] = name
return AddSlice.call(self, auth, slice_fields)