comparison MoinMoin/_tests/maketestwiki.py @ 6104:68f8bea727e5

remove usage of MoinMoin.support.tarfile
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 06 Sep 2016 01:10:13 +0200
parents 6fbfffffc4d1
children
comparison
equal deleted inserted replaced
6103:500f68d3e2fd 6104:68f8bea727e5
9 @copyright: 2005 by Thomas Waldmann 9 @copyright: 2005 by Thomas Waldmann
10 @license: GNU GPL, see COPYING for details. 10 @license: GNU GPL, see COPYING for details.
11 """ 11 """
12 12
13 import os, sys, shutil, errno 13 import os, sys, shutil, errno
14 import tarfile
14 15
15 filename = globals().get("__file__") or sys.argv[0] 16 filename = globals().get("__file__") or sys.argv[0]
16 moinpath = os.path.abspath(os.path.join(os.path.dirname(filename), os.pardir, os.pardir)) 17 moinpath = os.path.abspath(os.path.join(os.path.dirname(filename), os.pardir, os.pardir))
17
18 from MoinMoin.support import tarfile
19 18
20 WIKI = os.path.abspath(os.path.join(moinpath, 'tests', 'wiki')) 19 WIKI = os.path.abspath(os.path.join(moinpath, 'tests', 'wiki'))
21 SHARE = os.path.abspath(os.path.join(moinpath, 'wiki')) 20 SHARE = os.path.abspath(os.path.join(moinpath, 'wiki'))
22 21
23 22