diff -rN -u old-tahoe/src/allmydata/provisioning.py new-tahoe/src/allmydata/provisioning.py --- old-tahoe/src/allmydata/provisioning.py 2008-03-08 20:27:25.000000000 -0800 +++ new-tahoe/src/allmydata/provisioning.py 2008-03-08 20:27:25.000000000 -0800 @@ -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