diff --git a/respart/RM-autogen.py b/respart/RM-autogen.py
index ef8fd8386ee4f8f3ee356ff9ff7fe223ece45742..d8d55e5c01070787502e687f0f7c1ec417d39747 100755 (executable)
--- a/respart/RM-autogen.py
+++ b/respart/RM-autogen.py
key = (restype, subtype, host_id)
value = (start, num)
key = (restype, subtype, host_id)
value = (start, num)
- if (key in resasg):
- resasg[key].append(value)
- else:
+ if (key not in resasg):
resasg[key] = [value]
resasg[key] = [value]
+ else:
+ print ("WARNING: Ignoring multiple entries for (%s,%s,%s)" % key)
+ #resasg[key].append(value)
rmcfg.append((start, num, restype, subtype, host_id))
for pair in sharing:
rmcfg.append((start, num, restype, subtype, host_id))
for pair in sharing: