glusterfs/openstack-swift-docmod.patch
Kaleb S. KEITHLEY 4d2de6ced0 glusterfs-3.3.0-4, add UFO - Unified File and Object.
UFO is openstack-swift (currently essex, 1.4.8), patched to add hooks
for GlusterFS plug-ins.
N.B. Gluster's changes to swift have been submitted to upstream, and
when a new version of swift containing the hooks is released then
this patched version will be removed from the GlusterFS packaging.
2012-08-10 11:02:39 -04:00

15 lines
719 B
Diff

--- swift-1.4.4/doc/source/conf.py.orig 2011-11-24 08:59:50.000000000 -0500
+++ swift-1.4.4/doc/source/conf.py 2012-01-04 22:35:55.571492761 -0500
@@ -31,7 +31,10 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
-sys.path.append([os.path.abspath('../swift'), os.path.abspath('..'), os.path.abspath('../bin')])
+sys.path = [os.path.abspath('../../swift'),
+ os.path.abspath('../..'),
+ os.path.abspath('../../bin')
+ ] + sys.path
# -- General configuration -----------------------------------------------------