Ticket #3693: sage-3693-part1.patch
| File sage-3693-part1.patch, 1.1 kB (added by was, 6 months ago) |
|---|
-
a/sage/server/wiki/moin.py
old new 19 19 20 20 # if you change the default sage_wiki, you must also change local/bin/sage-wiki 21 21 def wiki_create_instance(directory='sage_wiki'): 22 from MoinMoin.server.standalone import StandaloneConfig, run23 24 22 share = '%s/share/moin'%misc.SAGE_LOCAL 25 23 26 24 if os.path.exists(directory): … … 63 61 config.write(""" 64 62 import sys 65 63 sys.path.insert(0, '%s') 66 from MoinMoin.server. twistedmoinimport TwistedConfig, makeApp64 from MoinMoin.server.server_twisted import TwistedConfig, makeApp 67 65 class Config(TwistedConfig): 68 66 name = 'mointwisted' 69 67 docs = '%s/local/share/moin/htdocs'