Changeset 989 for trunk


Ignore:
Timestamp:
Apr 24, 2019, 11:49:20 AM (6 months ago)
Author:
cito
Message:

Minor whitespace fixes and IDE hints

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/pg.py

    r988 r989  
    4444from uuid import UUID
    4545
    46 try:
     46try:  # noinspection PyUnresolvedReferences
    4747    long
    4848except NameError:  # Python >= 3.0
    4949    long = int
    5050
    51 try:
     51try:  # noinspection PyUnresolvedReferences
    5252    basestring
    5353except NameError:  # Python >= 3.0
  • trunk/pgdb.py

    r987 r989  
    8888from json import loads as jsondecode, dumps as jsonencode
    8989
    90 try:
     90try:  # noinspection PyUnresolvedReferences
    9191    long
    9292except NameError:  # Python >= 3.0
    9393    long = int
    9494
    95 try:
     95try:  # noinspection PyUnresolvedReferences
    9696    unicode
    9797except NameError:  # Python >= 3.0
    9898    unicode = str
    9999
    100 try:
     100try:  # noinspection PyUnresolvedReferences
    101101    basestring
    102102except NameError:  # Python >= 3.0
     
    12201220            raise TypeError("Need a table to copy to")
    12211221        if table.lower().startswith('select'):
    1222                 raise ValueError("Must specify a table, not a query")
     1222            raise ValueError("Must specify a table, not a query")
    12231223        else:
    12241224            table = '"%s"' % (table,)
     
    14361436
    14371437
    1438 
    14391438CursorDescription = namedtuple('CursorDescription',
    14401439    ['name', 'type_code', 'display_size', 'internal_size',
Note: See TracChangeset for help on using the changeset viewer.