Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92f3253

Browse files
committed
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>
1 parentf9ae973 commit92f3253

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/interfaces/python/pgdb.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,13 @@
5858
importstring
5959
importexceptions
6060
importtypes
61-
importDateTime
6261
importtime
6362
importtypes
6463

64+
# Marc-Andre is changing where DateTime goes. This handles it either way.
65+
try:frommximportDateTime
66+
exceptImportError:importDateTime
67+
6568
### module constants
6669

6770
# compliant with DB SIG 2.0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp