equal
deleted
inserted
replaced
33 from logilab.common.textutils import splitstrip |
33 from logilab.common.textutils import splitstrip |
34 |
34 |
35 from yams import BASE_GROUPS |
35 from yams import BASE_GROUPS |
36 |
36 |
37 from cubicweb import CW_SOFTWARE_ROOT |
37 from cubicweb import CW_SOFTWARE_ROOT |
|
38 |
|
39 class ShuttingDown(BaseException): |
|
40 """raised when trying to access some resources while the repository is |
|
41 shutting down. Inherit from BaseException so that `except Exception` won't |
|
42 catch it. |
|
43 """ |
38 |
44 |
39 # server-side debugging ######################################################### |
45 # server-side debugging ######################################################### |
40 |
46 |
41 # server debugging flags. They may be combined using binary operators. |
47 # server debugging flags. They may be combined using binary operators. |
42 |
48 |