This commit is contained in:
Andrey Popp 2010-07-15 22:02:06 +04:00
parent 8852933a75
commit d73c287663

View File

@ -71,5 +71,5 @@ class Dispatcher(object):
""" Dispatch call to appropriate rule."""
rule = self.lookup_rule(*args)
if rule is None:
raise TypeError("No avaible rule found for %r" % (args,))
raise TypeError("No available rule found for %r" % (args,))
return rule(*args)