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:
Chris Behrens 2011-08-29 12:46:12 +00:00 committed by Tarmac
commit e103b1c471

View File

@ -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: