Show More
@@ -38,11 +38,9 b" GEN_GROUP_POST_FINALIZE = b'postfinalize" | |||
|
38 | 38 | def active(func): |
|
39 | 39 | def _active(self, *args, **kwds): |
|
40 | 40 | if self._count == 0: |
|
41 |
raise error. |
|
|
42 | _( | |
|
41 | raise error.ProgrammingError( | |
|
43 | 42 |
|
|
44 | 43 |
|
|
45 | ) | |
|
46 | 44 | return func(self, *args, **kwds) |
|
47 | 45 | |
|
48 | 46 | return _active |
General Comments 0
You need to be logged in to leave comments.
Login now