test/data/scripts/script2.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 24 Jul 2013 16:49:40 +0200
branchstable
changeset 9187 8406bef5d5f2
parent 6631 26c303c3f1aa
permissions -rw-r--r--
[rql rewrite] equivalent but much simpler flow

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