Removed useless import.
This commit is contained in:
parent
36f8eaea6b
commit
ec684eaefc
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue