Changeset 160 for trunk/module/pg.py


Ignore:
Timestamp:
Jul 16, 2004, 7:38:13 AM (15 years ago)
Author:
darcy
Message:

Except query from the setattr line too so that it can also be wrapped
separately.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module/pg.py

    r159 r160  
    5252                # (members are not copied because they are actually functions)
    5353                for e in self.db.__methods__:
    54                         if e != "close":        # close is wrapped separately
     54                        if e not in ("close", "query"): # These are wrapped separately
    5555                                setattr(self, e, getattr(self.db, e))
    5656
Note: See TracChangeset for help on using the changeset viewer.