Compare commits
8 Commits
master
...
pkg/dev/ri
Author | SHA1 | Date | |
---|---|---|---|
0da8b868ac | |||
f07f76a4ef | |||
cdc4013450 | |||
a2e8b5dad4 | |||
f65e772b39 | |||
58b3880e9b | |||
413ab6dbb0 | |||
534b5f4413 |
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -1,5 +0,0 @@
|
|||||||
rougail (0.1) unstable; urgency=low
|
|
||||||
|
|
||||||
* first version
|
|
||||||
|
|
||||||
-- Cadoles <contact@cadoles.com> Tue, 31 Mar 2020 10:40:42 +0200
|
|
@ -15,8 +15,12 @@ from os.path import dirname, join, isfile
|
|||||||
from Cheetah.Template import Template as ChtTemplate
|
from Cheetah.Template import Template as ChtTemplate
|
||||||
from Cheetah.NameMapper import NotFound as CheetahNotFound
|
from Cheetah.NameMapper import NotFound as CheetahNotFound
|
||||||
|
|
||||||
from tiramisu import Config
|
try:
|
||||||
from tiramisu.error import PropertiesOptionError
|
from tiramisu import Config
|
||||||
|
from tiramisu.error import PropertiesOptionError
|
||||||
|
except:
|
||||||
|
from tiramisu3 import Config
|
||||||
|
from tiramisu3.error import PropertiesOptionError
|
||||||
|
|
||||||
from .config import patch_dir, variable_namespace
|
from .config import patch_dir, variable_namespace
|
||||||
from .error import FileNotFound, TemplateError
|
from .error import FileNotFound, TemplateError
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
from tiramisu import DynOptionDescription
|
try:
|
||||||
|
from tiramisu import DynOptionDescription
|
||||||
|
except:
|
||||||
|
from tiramisu3 import DynOptionDescription
|
||||||
from .utils import normalize_family
|
from .utils import normalize_family
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,7 +47,10 @@ class TiramisuReflector:
|
|||||||
funcs_path,
|
funcs_path,
|
||||||
):
|
):
|
||||||
self.storage = ElementStorage()
|
self.storage = ElementStorage()
|
||||||
self.storage.text = ["from tiramisu import *",
|
self.storage.text = ["try:",
|
||||||
|
" from tiramisu import *",
|
||||||
|
"except:",
|
||||||
|
" from tiramisu3 import *",
|
||||||
"from rougail.tiramisu import ConvertDynOptionDescription",
|
"from rougail.tiramisu import ConvertDynOptionDescription",
|
||||||
"import imp",
|
"import imp",
|
||||||
f"func = imp.load_source('func', '{funcs_path}')",
|
f"func = imp.load_source('func', '{funcs_path}')",
|
||||||
|
@ -5,9 +5,6 @@ from os import listdir, mkdir
|
|||||||
from json import dump, load, dumps, loads
|
from json import dump, load, dumps, loads
|
||||||
|
|
||||||
from tiramisu import Config
|
from tiramisu import Config
|
||||||
from rougail.xml_compare import xml_compare
|
|
||||||
from rougail.error import DictConsistencyError
|
|
||||||
from rougail.config import dtdfilename
|
|
||||||
|
|
||||||
|
|
||||||
dico_dirs = 'tests/flattener_dicos'
|
dico_dirs = 'tests/flattener_dicos'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user