equal
deleted
inserted
replaced
6 goto exit |
6 goto exit |
7 |
7 |
8 """ |
8 """ |
9 # -------------------- Python section -------------------- |
9 # -------------------- Python section -------------------- |
10 import sys |
10 import sys |
11 from os.path import join, dirname |
11 from os.path import join, dirname, normpath |
12 sys.path.insert(0, join(dirname(__file__), '..', '..')) |
12 sys.path.insert(0, normpath(join(dirname(__file__), '..', '..'))) |
13 from cubicweb.cwctl import run |
13 from cubicweb.cwctl import run |
14 run(sys.argv[1:]) |
14 run(sys.argv[1:]) |
15 |
15 |
16 DosExitLabel = """ |
16 DosExitLabel = """ |
17 :exit |
17 :exit |