summaryrefslogtreecommitdiff
path: root/pygerrit
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2013-08-06 12:25:54 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2013-08-06 12:26:21 +0900
commit439e3a73669cbf98ce34a380c35241d26fbf2209 (patch)
treeccc60f57e715e36781f07ce843f883449fa22142 /pygerrit
parent0723cc5ca7bae7a266444c1e4d06212a7cba011f (diff)
downloadpygerrit-439e3a73669cbf98ce34a380c35241d26fbf2209.tar.gz
Fix one more PEP-257 violation
Change-Id: Ie595ac7125323677ad478655c33b21a00302007c
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.
"""