diff options
| author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-08-06 12:25:54 +0900 |
|---|---|---|
| committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-08-06 12:26:21 +0900 |
| commit | 439e3a73669cbf98ce34a380c35241d26fbf2209 (patch) | |
| tree | ccc60f57e715e36781f07ce843f883449fa22142 /pygerrit/events.py | |
| parent | 0723cc5ca7bae7a266444c1e4d06212a7cba011f (diff) | |
| download | pygerrit-439e3a73669cbf98ce34a380c35241d26fbf2209.tar.gz | |
Fix one more PEP-257 violation
Change-Id: Ie595ac7125323677ad478655c33b21a00302007c
Diffstat (limited to 'pygerrit/events.py')
| -rw-r--r-- | pygerrit/events.py | 2 |
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. """ |
