Index: src/optional/python-bindings/gnucash_core.i
===================================================================
--- src/optional/python-bindings/gnucash_core.i	(revision 19800)
+++ src/optional/python-bindings/gnucash_core.i	(working copy)
@@ -38,8 +38,6 @@
 #include "guid.h"
 #include "gnc-module/gnc-module.h"
 #include "engine/gnc-engine.h"
-#include "backend/xml/gnc-backend-xml.h"
-#include "backend/dbi/gnc-backend-dbi.h"
 #include "Transaction.h"
 #include "Split.h"
 #include "Account.h"
@@ -186,9 +184,5 @@
 gnc_module_system_init();
 char * no_args[1] = { NULL };
 gnc_engine_init_static(0, no_args);
-
-
-gnc_module_init_backend_xml();
-gnc_module_init_backend_dbi();
 %}
 
Index: src/optional/python-bindings/Makefile.am
===================================================================
--- src/optional/python-bindings/Makefile.am	(revision 19802)
+++ src/optional/python-bindings/Makefile.am	(working copy)
@@ -40,9 +40,7 @@
   ${GLADE_LIBS} \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${top_builddir}/src/gnc-module/libgnc-module.la \
-  ${top_builddir}/src/engine/libgncmod-engine.la \
-  ${top_builddir}/src/backend/xml/libgncmod-backend-xml.la \
-  ${top_builddir}/src/backend/dbi/libgncmod-backend-dbi.la
+  ${top_builddir}/src/engine/libgncmod-engine.la
 if BUILDING_FROM_SVN
 _gnucash_core_c_includes= \
 	${top_srcdir}/config.h \
