summaryrefslogtreecommitdiffstats
path: root/share/common/msapi
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-08-27 03:52:08 +0000
committerBin Yang <bin.yang@windriver.com>2019-08-27 04:50:43 +0000
commit7a31c2e438da2d165f473f7428cee7d2164312df (patch)
treeace10c3428b58f2d8d2066978964ed80478279d6 /share/common/msapi
parent4a42f215d7009fc825bbff5b120913f21660ee59 (diff)
Fix py3 related issue
Change-Id: I2b21aaab2cbf0df11b9940bf62585294dd1ce576 Issue-ID: MULTICLOUD-774 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'share/common/msapi')
-rw-r--r--share/common/msapi/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/common/msapi/helper.py b/share/common/msapi/helper.py
index fa754aa6..c151d253 100644
--- a/share/common/msapi/helper.py
+++ b/share/common/msapi/helper.py
@@ -326,7 +326,7 @@ class MultiCloudThreadHelper(object):
time.sleep(nexttimer // 1000000)
nexttimer = 30*1000000 # initial interval in us to be updated:30 seconds
# logger.debug("self.owner.backlog: %s, len: %s" % (self.owner.name, len(self.owner.backlog)))
- for backlog_id, item in self.owner.backlog.items():
+ for backlog_id, item in list(self.owner.backlog.items()):
# logger.debug("evaluate backlog item: %s" % item)
# check interval for repeatable backlog item
now = MultiCloudThreadHelper.get_epoch_now_usecond()