Load the modules from .la if the normal import fails

This commit is contained in:
Marco Pesenti Gritti
2007-04-15 15:06:04 +02:00
parent 2910d23716
commit 218f9e10ae
3 changed files with 84 additions and 7 deletions
+5 -1
View File
@@ -14,4 +14,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
from extensions._extensions import *
try:
from extensions._extensions import *
except ImportError:
from sugar import ltihooks
from extensions._extensions import *