test/data/scripts/script2.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 12 Jun 2013 18:33:50 +0200
changeset 9007 e27337dfec8c
parent 6631 26c303c3f1aa
permissions -rw-r--r--
repository: monkey patch pyro connection handling to detect clients going away When a pyro client goes away we need to close their session (to release their cnxset). Add a dict to the repository mapping pyro client threads to session object. Closes #2932058

from os.path import join
assert __file__.endswith(join('scripts', 'script2.py')), __file__
assert '__main__' == __name__, __name__
assert ['-v'] == __args__, __args__