NR: Reference UIDs instead of RIDs in headcode ambiguity message

This commit is contained in:
Evelyn 2017-02-16 10:42:46 +00:00
parent 8682440d4c
commit ddb54cd159

View file

@ -223,7 +223,7 @@ class Module(object):
return return
if len(query["serviceList"][0]) > 1: if len(query["serviceList"][0]) > 1:
event["stdout"].write("Identifier refers to multiple services: " + event["stdout"].write("Identifier refers to multiple services: " +
", ".join(["%s (%s->%s)" % (a["rid"], a["originCrs"], a["destinationCrs"]) for a in query["serviceList"][0]])) ", ".join(["%s (%s->%s)" % (a["uid"], a["originCrs"], a["destinationCrs"]) for a in query["serviceList"][0]]))
return return
rid = query["serviceList"][0][0]["rid"] rid = query["serviceList"][0][0]["rid"]