equal
deleted
inserted
replaced
36 |
36 |
37 from yams import BASE_GROUPS |
37 from yams import BASE_GROUPS |
38 |
38 |
39 from cubicweb.appobject import AppObject |
39 from cubicweb.appobject import AppObject |
40 |
40 |
41 |
|
42 class ShuttingDown(BaseException): |
|
43 """raised when trying to access some resources while the repository is |
|
44 shutting down. Inherit from BaseException so that `except Exception` won't |
|
45 catch it. |
|
46 """ |
|
47 |
41 |
48 # server-side services ######################################################### |
42 # server-side services ######################################################### |
49 |
43 |
50 class Service(AppObject): |
44 class Service(AppObject): |
51 """Base class for services. |
45 """Base class for services. |