diff MoinMoin/_tests/maketestwiki.py @ 2174:f5f4dbbd0c51

added tarfile.py from py 2.5.1 (backported to work with py 2.3/2.4), fix imports to use it for tests/backup (ported from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 20 Jun 2007 14:37:58 +0200
parents 1339d6fdc4ff
children 48b95abf3994
line wrap: on
line diff
--- a/MoinMoin/_tests/maketestwiki.py	Wed Jun 20 14:32:27 2007 +0200
+++ b/MoinMoin/_tests/maketestwiki.py	Wed Jun 20 14:37:58 2007 +0200
@@ -10,12 +10,14 @@
 @license: GNU GPL, see COPYING for details.
 """
 
-import os, sys, shutil, errno, tarfile
+import os, sys, shutil, errno
 
 filename = globals().get("__file__") or sys.argv[0]
 moinpath = os.path.abspath(os.path.join(os.path.dirname(filename), os.pardir, os.pardir))
 sys.path.insert(0, moinpath)
 
+from MoinMoin.support import tarfile
+
 WIKI = os.path.abspath(os.path.join(moinpath, 'tests', 'wiki'))
 SHARE = os.path.abspath(os.path.join(moinpath, 'wiki'))