summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/controller/handler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ryu/controller/handler.py b/ryu/controller/handler.py
index 01db88df..24944dc9 100644
--- a/ryu/controller/handler.py
+++ b/ryu/controller/handler.py
@@ -82,6 +82,7 @@ def register_cls(dispatchers=None):
# LOG.debug('register dispatcher %s ev %s cls %s k %s f %s',
# d.name, f.ev_cls, cls, k, f)
d.register_handler(f.ev_cls, f)
+ return cls
return _register_cls_method