diff options
| author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-08-22 13:22:56 +0900 |
|---|---|---|
| committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-08-22 13:22:56 +0900 |
| commit | 9355f18b8e2780f043b75a8938bb4ecb82f9ae0d (patch) | |
| tree | 89518d243c7041d8c91c44b4c89ae049a823aee5 /pygerrit/events.py | |
| parent | 66c505985742d8472d236f493ac1139a9ae287ca (diff) | |
| download | pygerrit-9355f18b8e2780f043b75a8938bb4ecb82f9ae0d.tar.gz | |
Revert "GerritEventFactory should be a singleton"
Actually, no, it shouldn't.
This reverts commit 66c505985742d8472d236f493ac1139a9ae287ca.
Diffstat (limited to 'pygerrit/events.py')
| -rw-r--r-- | pygerrit/events.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pygerrit/events.py b/pygerrit/events.py index 008d942..4a7200d 100644 --- a/pygerrit/events.py +++ b/pygerrit/events.py @@ -9,14 +9,6 @@ class GerritEventFactory(object): """ Gerrit event factory. """ _events = {} - _instance = None - - def __new__(cls, *args, **kwargs): - """ Return the event factory instance. """ - if not cls._instance: - cls._instance = super(GerritEventFactory, cls).__new__(cls, *args, - **kwargs) - return cls._instance @classmethod def register(cls, name): |
