server/hook.py
branchstable
changeset 5848 b5640328ffad
parent 5837 67c722b36f7c
child 5877 0c7b7b76a84f
equal deleted inserted replaced
5847:51636c991fb4 5848:b5640328ffad
    44 
    44 
    45 Backup/restore hooks (eg server_backup, server_restore) have a `repo` and a
    45 Backup/restore hooks (eg server_backup, server_restore) have a `repo` and a
    46 `timestamp` attributes, but *their `_cw` attribute is None*.
    46 `timestamp` attributes, but *their `_cw` attribute is None*.
    47 
    47 
    48 Session hooks (eg session_open, session_close) have no special attribute.
    48 Session hooks (eg session_open, session_close) have no special attribute.
    49 
       
    50 """
    49 """
       
    50 
    51 from __future__ import with_statement
    51 from __future__ import with_statement
    52 
    52 
    53 __docformat__ = "restructuredtext en"
    53 __docformat__ = "restructuredtext en"
    54 
    54 
    55 from warnings import warn
    55 from warnings import warn