diff MoinMoin/action/AttachFile.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 371fb8e44d41
children 4716268c34e3
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Tue Sep 06 01:00:25 2016 +0200
+++ b/MoinMoin/action/AttachFile.py	Tue Sep 06 01:10:13 2016 +0200
@@ -29,6 +29,7 @@
 
 import os, time, zipfile, errno, datetime
 from StringIO import StringIO
+import tarfile
 
 from werkzeug import http_date
 
@@ -44,7 +45,6 @@
 from MoinMoin.util import filesys, timefuncs
 from MoinMoin.security.textcha import TextCha
 from MoinMoin.events import FileAttachedEvent, FileRemovedEvent, send_event
-from MoinMoin.support import tarfile
 
 action_name = __name__.split('.')[-1]