cubicweb/test/data/scripts/script2.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 13 Mar 2019 00:01:35 +0100
changeset 12883 d5bbf030f967
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[server/sources/native] refactor to remove useless injection

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