Commit 92f32539 authored by D'Arcy J.M. Cain's avatar D'Arcy J.M. Cain

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>
parent f9ae973c
...@@ -58,10 +58,13 @@ import _pg ...@@ -58,10 +58,13 @@ import _pg
import string import string
import exceptions import exceptions
import types import types
import DateTime
import time import time
import types 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 ### module constants
# compliant with DB SIG 2.0 # compliant with DB SIG 2.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment