These sort of things:
if is_valid(meter) and meter[0] % 3 == 0:
return True
else:
return False
should be rewritten to
return is_valid(meter) and meter[0] % 3 == 0
Original issue reported on code.google.com by Rhijnauwen@gmail.com on 10 Feb 2009 at 11:08
Original issue reported on code.google.com by
Rhijnauwen@gmail.com
on 10 Feb 2009 at 11:08