Adapt to python2.6

* larpe/__init__.py:
 * larpe/admin/__init__.py:
   add code to support quixote and python 2.6

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@470 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
This commit is contained in:
bdauvergne 2009-04-27 13:02:35 +00:00
parent 5309a31a7c
commit f612aba869
2 changed files with 10 additions and 0 deletions

View File

@ -1,4 +1,9 @@
'''Setup path and load Lasso library'''
try:
from quixote.ptl import compile_package
compile_package(__path__)
except ImportError:
pass
import sys
import os

View File

@ -1 +1,6 @@
try:
from quixote.ptl import compile_package
compile_package(__path__)
except ImportError:
pass
from root import RootDirectory