Fixes bug when using nodegroups assigned to SliceAttributes:
authorStephen Soltesz <soltesz@cs.princeton.edu>
Sat, 17 Jan 2009 00:16:08 +0000 (00:16 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Sat, 17 Jan 2009 00:16:08 +0000 (00:16 +0000)
commitea929052c804548268fff6a83f9d80293d3ea2a3
tree2276e34dc8d935387d8c2aa0772799ccc6732e45
parent979def41e49d6af0385f50fbc6d0da6ebaf84d99
Fixes bug when using nodegroups assigned to SliceAttributes:

    File "/usr/share/plc_api/PLC/Methods/GetSlivers.py", line 219, in call
        slivers = get_slivers(self.api, slice_ids, node)
File "/usr/share/plc_api/PLC/Methods/GetSlivers.py", line 82, in get_slivers
if slice_attribute['name'] not in slice_attributes:
    File "/usr/share/plc_api/PLC/Table.py", line 209, in __eq__
y = self.db_fields(y)
File "/usr/share/plc_api/PLC/Table.py", line 198, in db_fields
obj.items()))
AttributeError: 'unicode' object has no attribute 'items'
PLC/Methods/GetSlivers.py