Removed useless import.

This commit is contained in:
Lukas Pfannschmidt 2016-01-07 18:40:29 +01:00
parent 36f8eaea6b
commit ec684eaefc

View file

@ -9,7 +9,6 @@
# Version: 1.0 # Version: 1.0
import sys, os, os.path, re, codecs import sys, os, os.path, re, codecs
sys.path.insert(1,'/home/caddy/.conda/envs/moinmoin/lib/python2.7/site-packages/MoinMoin/support')
import getopt import getopt
from MoinMoin import user, wikiutil from MoinMoin import user, wikiutil
from MoinMoin.web.contexts import ScriptContext as RequestCLI from MoinMoin.web.contexts import ScriptContext as RequestCLI
@ -160,8 +159,7 @@ def convertfile(page, output = None, overwrite = False):
pagename = wikiname(pagedir) pagename = wikiname(pagedir)
if not output: if not output:
output = pagename.split("/") output = pagename
if page.isUnderlayPage(): if page.isUnderlayPage():
print "underlay: %s" % page.request.cfg.data_underlay_dir print "underlay: %s" % page.request.cfg.data_underlay_dir