mirror of
https://github.com/postgres/postgres.git
synced 2026-04-21 06:08:26 -04:00
Marc-Andre is changing where DateTime goes. This change allows the module
to work either way. Change submitted by Andrew Kuchling <akuchlin@mems-exchange.org>
This commit is contained in:
parent
f9ae973c5e
commit
92f3253926
1 changed files with 4 additions and 1 deletions
|
|
@ -58,10 +58,13 @@ import _pg
|
|||
import string
|
||||
import exceptions
|
||||
import types
|
||||
import DateTime
|
||||
import time
|
||||
import types
|
||||
|
||||
# Marc-Andre is changing where DateTime goes. This handles it either way.
|
||||
try: from mx import DateTime
|
||||
except ImportError: import DateTime
|
||||
|
||||
### module constants
|
||||
|
||||
# compliant with DB SIG 2.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue