[pywin32-checkins] /hgroot/pywin32/pywin32: correct typo & remove unused line
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <pyw...@li...> - 2013-03-29 13:11:47
|
changeset cf327029212a in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=cf327029212a summary: correct typo & remove unused line diffstat: adodbapi/schema_table.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diffs (19 lines): diff -r e7a557e939d7 -r cf327029212a adodbapi/schema_table.py --- a/adodbapi/schema_table.py Fri Mar 29 07:00:07 2013 -0600 +++ b/adodbapi/schema_table.py Fri Mar 29 07:11:19 2013 -0600 @@ -1,4 +1,4 @@ -""" coll using an open ADO connection --> list of table names""" +"""call using an open ADO connection --> list of table names""" import adodbapi def names(connection_object): @@ -8,8 +8,7 @@ tables = [] while not schema.EOF: name = adodbapi.getIndexedValue(schema.Fields,'TABLE_NAME').Value - type = adodbapi.getIndexedValue(schema.Fields,'TABLE_TYPE').Value + tables.append(name) schema.MoveNext() - tables.append(name) del schema return tables |