server/__init__.py
changeset 7574 34154f48d255
parent 7536 29961a416faa
parent 7573 c8f8762c986d
child 7906 203d574c8a1d
child 7915 a7f3245e1728
equal deleted inserted replaced
7570:648bf83945a5 7574:34154f48d255
    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