--- back_anydbm.py.old 2004-05-07 00:19:28.000000000 +0100 +++ back_anydbm.py 2004-06-10 12:11:36.000000000 +0100 @@ -1655,6 +1655,11 @@ else: bv = v l.append((OTHER, k, bv)) + elif k == 'id': + if type(v) != type([]): + v = v.split(',') + v = [str(int(val)) for val in v] + l.append((OTHER, k, v)) elif isinstance(propclass, Number): l.append((OTHER, k, int(v))) else: @@ -1674,7 +1679,7 @@ # apply filter for t, k, v in filterspec: # handle the id prop - if k == 'id' and v == nodeid: + if k == 'id' and nodeid in v: continue # make sure the node has the property