From cedc653aa525da43482d94e614bfbd033cc67d2c Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Sun, 9 Mar 2008 08:50:46 -0700 Subject: [PATCH] apply dreid's patch from #335 to fix the provisioning page in zipped distributions --- src/allmydata/provisioning.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 2.45.2