Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41228 - /trunk/python-bindings/src/Y2PythonComponent.cc
  • From: juhliarik@xxxxxxxxxxxxxxxx
  • Date: Wed, 03 Oct 2007 11:34:52 -0000
  • Message-id: <20071003113452.801442FC4C@xxxxxxxxxxxxxxxx>
Author: juhliarik
Date: Wed Oct  3 13:34:52 2007
New Revision: 41228

URL: http://svn.opensuse.org/viewcvs/yast?rev=41228&view=rev
Log:
reimplementation import process


Modified:
    trunk/python-bindings/src/Y2PythonComponent.cc

Modified: trunk/python-bindings/src/Y2PythonComponent.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/python-bindings/src/Y2PythonComponent.cc?rev=41228&r1=41227&r2=41228&view=diff
==============================================================================
--- trunk/python-bindings/src/Y2PythonComponent.cc (original)
+++ trunk/python-bindings/src/Y2PythonComponent.cc Wed Oct  3 13:34:52 2007
@@ -61,13 +61,7 @@
        return NULL;
     }
     
-    module.erase (module.size () - 3 /* strlen (".py") */);
-    YCPList args;
-    args->add (YCPString(/*module*/ name));
-
-    // load it
-    //XXX -> not rewrited
-    YPython::loadModule (args);
+    YPython::loadModule (module);
 
     // introspect, create data structures for the interpreter
     Y2Namespace *ns = new YPythonNamespace (name);

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages