mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 21:01:59 +02:00
[python] use items instead of iteritems for python2/3 compatibility
This commit is contained in:
parent
81dcf10d25
commit
fb549ff3df
2 changed files with 2 additions and 2 deletions
|
@ -550,7 +550,7 @@ runningProcesses = {}
|
||||||
@atexit.register
|
@atexit.register
|
||||||
def clearProcessesStatus():
|
def clearProcessesStatus():
|
||||||
global runningProcesses
|
global runningProcesses
|
||||||
for k, v in runningProcesses.iteritems():
|
for k, v in runningProcesses.items():
|
||||||
v.upgradeStatusTo(Status.KILLED)
|
v.upgradeStatusTo(Status.KILLED)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,7 @@ def test_transitive_reduction():
|
||||||
|
|
||||||
depthPerNode = graph.minMaxDepthPerNode()
|
depthPerNode = graph.minMaxDepthPerNode()
|
||||||
assert len(depthPerNode) == len(graph.nodes)
|
assert len(depthPerNode) == len(graph.nodes)
|
||||||
for node, (minDepth, maxDepth) in depthPerNode.iteritems():
|
for node, (minDepth, maxDepth) in depthPerNode.items():
|
||||||
assert node.depth == maxDepth
|
assert node.depth == maxDepth
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue