Skip to content

Commit

Permalink
Implement workaround for gaphor/generic#1
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomurri committed May 4, 2018
1 parent b991b2c commit 73ae6e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gc3libs/events.py
Expand Up @@ -50,3 +50,10 @@ def __init__(self, task, from_state, to_state):
self.task = task
self.from_state = from_state
self.to_state = to_state


# implement workaround for https://github.com/andreypopp/generic/issues/1
# i.e., register a dummy event handler for `TaskStateChange`
def _no_action(event):
pass
subscribe(_no_action, TaskStateChange)

0 comments on commit 73ae6e9

Please sign in to comment.