summaryrefslogtreecommitdiff
path: root/pygerrit
diff options
context:
space:
mode:
Diffstat (limited to 'pygerrit')
-rw-r--r--pygerrit/events.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pygerrit/events.py b/pygerrit/events.py
index 5e97bce..e06b937 100644
--- a/pygerrit/events.py
+++ b/pygerrit/events.py
@@ -39,6 +39,8 @@ class GerritEventFactory(object):
def register(cls, name):
""" Decorator to register the event identified by `name`.
+ Return the decorated class.
+
Raise GerritError if the event is already registered.
"""