comparison sqlpyPlus.py @ 43:abbfb5a7e32c

removed debg, whatever that is
author devlinjs@FA7CZA6N1254998.wrightpatterson.afmc.ds.af.mil
date Mon, 04 Feb 2008 15:50:02 -0500
parents 05c20d6bcec4
children 71576bf684c8
comparison
equal deleted inserted replaced
42:05c20d6bcec4 43:abbfb5a7e32c
467 for x in range(len(self.curs.description)): 467 for x in range(len(self.curs.description)):
468 if str(self.curs.description[x][1]) == "<type 'cx_Oracle.BINARY'>": # handles RAW columns 468 if str(self.curs.description[x][1]) == "<type 'cx_Oracle.BINARY'>": # handles RAW columns
469 rname = transpr[x][0] 469 rname = transpr[x][0]
470 transpr[x] = map(binascii.b2a_hex, transpr[x]) 470 transpr[x] = map(binascii.b2a_hex, transpr[x])
471 transpr[x][0] = rname 471 transpr[x][0] = rname
472 self.debg=transpr
473 newdesc[0][0] = 'COLUMN NAME' 472 newdesc[0][0] = 'COLUMN NAME'
474 result = '\n' + sqlpython.pmatrix(transpr,newdesc) 473 result = '\n' + sqlpython.pmatrix(transpr,newdesc)
475 else: 474 else:
476 result = sqlpython.pmatrix(self.rows, self.curs.description, self.maxfetch) 475 result = sqlpython.pmatrix(self.rows, self.curs.description, self.maxfetch)
477 return result 476 return result