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:
01e17ee
)
- id_list is optional
author
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 26 Oct 2006 14:51:12 +0000
(14:51 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 26 Oct 2006 14:51:12 +0000
(14:51 +0000)
PLC/SliceAttributes.py
patch
|
blob
|
history
diff --git
a/PLC/SliceAttributes.py
b/PLC/SliceAttributes.py
index
2494acf
..
f7c3499
100644
(file)
--- a/
PLC/SliceAttributes.py
+++ b/
PLC/SliceAttributes.py
@@
-25,13
+25,13
@@
class SliceAttribute(Row):
'value': Parameter(str, "Slice attribute value", max = 254),
}
'value': Parameter(str, "Slice attribute value", max = 254),
}
-class SliceAttributes(
dict
):
+class SliceAttributes(
Table
):
"""
Representation of row(s) from the slice_attribute table in the
database.
"""
"""
Representation of row(s) from the slice_attribute table in the
database.
"""
- def __init__(self, api, slice_attribute_id_list):
+ def __init__(self, api, slice_attribute_id_list
= None
):
self.api = api
sql = "SELECT %s FROM view_slice_attributes" % \
self.api = api
sql = "SELECT %s FROM view_slice_attributes" % \