Fixes lp:813864 by removing the broken assert. The assert was a check for isinstance of 'int' that should have been 'long'. But it doesn't appear this assert really belongs, anyway.
This commit is contained in:
commit
e103b1c471
@ -180,7 +180,6 @@ class AbstractScheduler(driver.Scheduler):
|
|||||||
for zone_id, result in child_results:
|
for zone_id, result in child_results:
|
||||||
if not result:
|
if not result:
|
||||||
continue
|
continue
|
||||||
assert isinstance(zone_id, int)
|
|
||||||
|
|
||||||
for zone_rec in zones:
|
for zone_rec in zones:
|
||||||
if zone_rec['id'] != zone_id:
|
if zone_rec['id'] != zone_id:
|
||||||
|
Loading…
Reference in New Issue
Block a user