projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d9bfbc
)
apply dreid's patch from #335 to fix the provisioning page in zipped distributions
author
Zooko O'Whielacronx
<zooko@zooko.com>
Sun, 9 Mar 2008 15:50:46 +0000
(08:50 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Sun, 9 Mar 2008 15:50:46 +0000
(08:50 -0700)
src/allmydata/provisioning.py
patch
|
blob
|
history
diff --git
a/src/allmydata/provisioning.py
b/src/allmydata/provisioning.py
index 74d3ff5383a579212e908a52f4bce032696fcfdb..f07369518c61a92384ec9daf83d6461824cb971e 100644
(file)
--- 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