diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-12-04 10:26:49 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-12-04 13:51:21 +0000 |
| commit | 288f9ee80922ef4ae63b463f8c75c9a689dfcc46 (patch) | |
| tree | 761eae66ec737d42a4bc8baf305437d16ea6156a /psycopg/psycopgmodule.c | |
| parent | ebd73c14a8b14c8a75345e9bbaf627edaa90da8e (diff) | |
| download | psycopg2-288f9ee80922ef4ae63b463f8c75c9a689dfcc46.tar.gz | |
Work around CentOS 5.5 x86_64 buld problem.
Closes ticket #23
Diffstat (limited to 'psycopg/psycopgmodule.c')
| -rw-r--r-- | psycopg/psycopgmodule.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/psycopg/psycopgmodule.c b/psycopg/psycopgmodule.c index d0a7735..db44807 100644 --- a/psycopg/psycopgmodule.c +++ b/psycopg/psycopgmodule.c @@ -48,12 +48,10 @@ #include "psycopg/adapter_asis.h" #include "psycopg/adapter_list.h" #include "psycopg/typecast_binary.h" -#include "psycopg/typecast_datetime.h" #ifdef HAVE_MXDATETIME #include <mxDateTime.h> #include "psycopg/adapter_mxdatetime.h" -#include "psycopg/typecast_mxdatetime.h" #endif /* some module-level variables, like the datetime module */ @@ -764,7 +762,6 @@ init_psycopg(void) return; } if (psyco_adapter_mxdatetime_init()) { return; } - if (psyco_typecast_mxdatetime_init()) { return; } #endif /* import python builtin datetime module, if available */ @@ -778,7 +775,6 @@ init_psycopg(void) /* Initialize the PyDateTimeAPI everywhere is used */ PyDateTime_IMPORT; if (psyco_adapter_datetime_init()) { return; } - if (psyco_typecast_datetime_init()) { return; } pydatetimeType.ob_type = &PyType_Type; if (PyType_Ready(&pydatetimeType) == -1) return; |
