From 4d883ec60af45bfde660e1428f42c97e36e9d750 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Thu, 26 Oct 2006 14:51:12 +0000 Subject: [PATCH] - id_list is optional --- PLC/SliceAttributes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/SliceAttributes.py b/PLC/SliceAttributes.py index 2494acf..f7c3499 100644 --- a/PLC/SliceAttributes.py +++ b/PLC/SliceAttributes.py @@ -25,13 +25,13 @@ class SliceAttribute(Row): '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. """ - 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" % \ -- 2.45.2