[mapserver-commits] r9703 - trunk/docs

svn at osgeo.org svn at osgeo.org
Mon Jan 18 09:41:24 EST 2010


Author: hobu
Date: 2010-01-18 09:41:23 -0500 (Mon, 18 Jan 2010)
New Revision: 9703

Modified:
   trunk/docs/labels.py
Log:
import tweak to support building with Sphinx 1.0

Modified: trunk/docs/labels.py
===================================================================
--- trunk/docs/labels.py	2010-01-18 14:36:45 UTC (rev 9702)
+++ trunk/docs/labels.py	2010-01-18 14:41:23 UTC (rev 9703)
@@ -1,8 +1,11 @@
 
 from os import path
 from itertools import groupby
-from sphinx.builder import Builder
-
+try:
+    from sphinx.builders import Builder
+except ImportError:
+    from sphinx.builder import Builder
+    
 class CollectLabelsBuilder(Builder):
    """
    Collects all present explicit labels into a table.



More information about the mapserver-commits mailing list