~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/pyext/dbtable.py

  • Committer: Monty Taylor
  • Date: 2011-03-07 21:55:14 UTC
  • mfrom: (2221.5.2 bug730312)
  • mto: This revision was merged to the branch mainline in revision 2223.
  • Revision ID: mordred@inaugust.com-20110307215514-mh8vz8eaclur0ev0
Merge fix for old Sphinx breakage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
15
15
 
16
16
def setup(app):
17
 
    app.add_description_unit('dbtable', 'dbtable',
18
 
                             objname='database table',
19
 
                             indextemplate='pair: %s; database table')
 
17
    try:
 
18
        app.add_description_unit('dbtable', 'dbtable',
 
19
                                 objname='database table',
 
20
                                 indextemplate='pair: %s; database table')
 
21
    except TypeError:
 
22
        # We have to trap for this because of Sphinx 0.6.2
 
23
        pass
 
24