comparison Resources/Samples/Python/HighPerformanceAutoRouting.py @ 3340:ca65e3dcce72

typo
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Apr 2019 16:03:29 +0200
parents 4e43e67f8ecf
children 94f4a18a79cc
comparison
equal deleted inserted replaced
3339:d59521c395d9 3340:ca65e3dcce72
68 'since' : current, 68 'since' : current,
69 'limit' : 4 # Retrieve at most 4 changes at once 69 'limit' : 4 # Retrieve at most 4 changes at once
70 }) 70 })
71 71
72 for change in r['Changes']: 72 for change in r['Changes']:
73 # We are only interested interested in the arrival of new instances 73 # We are only interested in the arrival of new instances
74 if change['ChangeType'] == 'NewInstance': 74 if change['ChangeType'] == 'NewInstance':
75 queue.put(change['ID']) 75 queue.put(change['ID'])
76 76
77 current = r['Last'] 77 current = r['Last']
78 78