annotate oracle_schema.patch @ 451:fd86d22fe00d

mostly compatible with cmd2 0.6 - minor transcript test problem
author catherine@Drou
date Mon, 15 Feb 2010 17:44:56 -0500
parents 0b71da565ebe
children
rev   line source
447
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
1 171c171,174
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
2 < schema[table_key] = Table(table_name, cursor, owner)
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
3 ---
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
4 > try:
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
5 > schema[table_key] = Table(table_name, cursor, owner)
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
6 > except Exception, e:
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
7 > LOG.warning('Failed to get metadata for table %s.%s: %s' % (owner, table_name, str(e)))