]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
apply dreid's patch from #335 to fix the provisioning page in zipped distributions
authorZooko O'Whielacronx <zooko@zooko.com>
Sun, 9 Mar 2008 15:50:46 +0000 (08:50 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Sun, 9 Mar 2008 15:50:46 +0000 (08:50 -0700)
src/allmydata/provisioning.py

index 74d3ff5383a579212e908a52f4bce032696fcfdb..f07369518c61a92384ec9daf83d6461824cb971e 100644 (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