~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 00:00:30 UTC
  • mto: (2222.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2223.
  • Revision ID: mordred@inaugust.com-20110307000030-azwm7jr14o33arxw
Also trap the other one.

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