Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
totycro committed Nov 27, 2011
1 parent 6678111 commit 18a59ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horizons/scheduler.py
Expand Up @@ -187,7 +187,7 @@ def rem_call(self, instance, callback):
removed_calls += 1

test = 0
if removed_calls >= 0: # there also must be calls in the calls_by_instance dict
if removed_calls > 0: # there also must be calls in the calls_by_instance dict
for i in xrange(len(self.calls_by_instance[instance]) - 1, -1, -1):
obj = self.calls_by_instance[instance][i]
if obj.callback == callback:
Expand Down

0 comments on commit 18a59ae

Please sign in to comment.