提交 92f32539 编写于 作者: D 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>
上级 f9ae973c
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册