summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9bec84a)
raw | patch | inline | side by side (parent: 9bec84a)
author | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Thu, 26 Mar 2020 06:08:56 +0000 (11:38 +0530) | ||
committer | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Wed, 1 Apr 2020 11:14:43 +0000 (16:44 +0530) |
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
respart/RM-autogen.py | patch | blob | history |
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)
- if (key in resasg):
- resasg[key].append(value)
- else:
+ if (key not in resasg):
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: