test/data/scripts/script2.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 04 Dec 2013 19:14:43 +0100
branchstable
changeset 9353 aa8be290374e
parent 6631 26c303c3f1aa
permissions -rw-r--r--
[server/pyro] try to shutdown the repository properly If RepositoryServer.trigger_events is not called we might miss a QuitEvent and thus never shutdown the repository and its looping tasks.

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