apply dreid's patch from #335 to fix the provisioning page in zipped distributions

This commit is contained in:
Zooko O'Whielacronx 2008-03-09 08:50:46 -07:00
parent 7d9bfbcabe
commit cedc653aa5

View File

@ -1,10 +1,8 @@
from nevow import inevow, loaders, rend, tags as T
import math
from allmydata.util import mathutil, sibpath
def getxmlfile(name):
return loaders.xmlfile(sibpath.sibpath(__file__, "web/%s" % name))
from allmydata.util import mathutil
from allmydata.web.common import getxmlfile
# factorial and binomial copied from
# http://mail.python.org/pipermail/python-list/2007-April/435718.html