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:
parent
5309a31a7c
commit
f612aba869
|
@ -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
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
try:
|
||||
from quixote.ptl import compile_package
|
||||
compile_package(__path__)
|
||||
except ImportError:
|
||||
pass
|
||||
from root import RootDirectory
|
||||
|
|
Reference in New Issue