From 90debce159722d65684e9e6065a117ae451795f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Sat, 12 Mar 2016 16:11:06 +0100 Subject: [PATCH] Fix rebase error --- src/Mod/Import/App/AppImportPy.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Mod/Import/App/AppImportPy.cpp b/src/Mod/Import/App/AppImportPy.cpp index dc6e58fa9..c4783569e 100644 --- a/src/Mod/Import/App/AppImportPy.cpp +++ b/src/Mod/Import/App/AppImportPy.cpp @@ -82,11 +82,7 @@ public: add_varargs_method("export",&Module::exporter, "export(list,string) -- Export a list of objects into a single file." ); - initialize("This module is the Import module."); // register with Python - - if(TargetObjectPy) - target = static_cast(TargetObjectPy)->getDocumentObjectPtr(); - + initialize("This module is the Import module."); // register with Python } virtual ~Module() {}