From: Zooko O'Whielacronx Date: Sun, 9 Mar 2008 15:50:46 +0000 (-0700) Subject: apply dreid's patch from #335 to fix the provisioning page in zipped distributions X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/running.html?a=commitdiff_plain;h=cedc653aa525da43482d94e614bfbd033cc67d2c;p=tahoe-lafs%2Ftahoe-lafs.git apply dreid's patch from #335 to fix the provisioning page in zipped distributions --- diff --git a/src/allmydata/provisioning.py b/src/allmydata/provisioning.py index 74d3ff53..f0736951 100644 --- a/src/allmydata/provisioning.py +++ b/src/allmydata/provisioning.py @@ -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