Skip to content

Commit

Permalink
Fix bad reference to registry (#3)
Browse files Browse the repository at this point in the history
* Fix bad reference to registry

* Fix bad key lookup
  • Loading branch information
maximpertsov committed Oct 10, 2018
1 parent c31a38f commit d76aa9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def finalize_options(self):
pass
setup(
name="django-umeboshi",
version="0.4.2",
version="0.4.3",
author="MakeSpace Labs, Inc.",
author_email="zach.smith@makespace.com",
description="Umeboshi is a Django application for durable long-term scheduling of arbitrary actions.",
Expand Down
2 changes: 1 addition & 1 deletion umeboshi/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def register(self, cls):

if cls.trigger_name in self.registry:
self.logger.warning('Duplicate definition for trigger {} at {}.{} and {}.{}',
cls.trigger_name, self.register[cls.__module__, cls.trigger_name],
cls.trigger_name, cls.__module__, self.registry[cls.trigger_name],
cls.__module__, cls.__name__)
self.registry[cls.trigger_name] = "{}.{}".format(cls.__module__, cls.__name__)

Expand Down

0 comments on commit d76aa9a

Please sign in to comment.