Message82

Author jgentry
Recipients sfalcon
Date 2006-05-19.10:54:04
Content
That's the function I was talking about.  The relevant code is:
        try:
            sqlInterface('SELECT * FROM %(grpTab)s LIMIT 1'%locals())
        except ProgrammingError:
            createQry = "CREATE TABLE %(grpTab)s (geneid varchar(80));"%locals()

Why would the ProgrammingError not get caught there?
History
Date User Action Args
2006-05-19 10:54:04jgentrysetrecipients: + sfalcon
2006-05-19 10:54:04jgentrysetmessageid: <1148064844.2.0.977901488843.issue25@fhcrc.org>
2006-05-19 10:54:04jgentrylinkissue25 messages
2006-05-19 10:54:04jgentrycreate