X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fmrstub%2Fapp%2Fmain.py;h=dd80f3f9d0b38e0b9165628a21ded7ad36d72db5;hb=c453edfb85fd5efe64f7b1a6cc4892f5d66cbc0c;hp=4b1913f720e2c170eda162e38d6a7a636ca3d9a4;hpb=98ce5dc75fc222dadaf26a8a148788b0367bf6ca;p=nonrtric.git diff --git a/test/mrstub/app/main.py b/test/mrstub/app/main.py index 4b1913f7..dd80f3f9 100644 --- a/test/mrstub/app/main.py +++ b/test/mrstub/app/main.py @@ -164,7 +164,8 @@ def dmaap_generic_uploader(): while True: if (len(generic_messages)): - for topicname in generic_messages.keys(): #topicname contains the path of the topics, eg. "/event/" + keys_copy = list(generic_messages.keys()) + for topicname in keys_copy: #topicname contains the path of the topics, eg. "/event/" topic_queue=generic_messages[topicname] if (len(topic_queue)>0): if (topicname.endswith(".text")):