Commit a8841dc7 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

[py3] Use absolute imports of "xsd" and "xsd2yams" modules

parent 05022af75eae
......@@ -21,7 +21,7 @@ used bits).
import csv
import os.path as osp
from xsd import seda_xsd, un_camel_case
from .xsd import seda_xsd, un_camel_case
import sys
sys.exit('broken until pyxst stop using a set for textual_content_values')
......
......@@ -17,8 +17,8 @@
import json
from xsd2yams import MULTIPLE_CHILDREN, CodeGenerator
from xsd2uicfg import ordered_attributes
from .xsd2yams import MULTIPLE_CHILDREN, CodeGenerator
from .xsd2uicfg import ordered_attributes
MULTIPLE_ETYPES = set(etype for etype, _ in MULTIPLE_CHILDREN)
......
......@@ -23,8 +23,8 @@ from six import text_type
from cubicweb import neg_role, _
from xsd import XSDM_MAPPING
from xsd2yams import CodeGenerator
from .xsd import XSDM_MAPPING
from .xsd2yams import CodeGenerator
FIRST_LEVEL_ETYPES = set(('SEDAArchiveTransfer',
......
......@@ -24,7 +24,7 @@ except ImportError:
from pyxst.xml_struct import graph_nodes
from xsd import XSDMMapping, un_camel_case
from .xsd import XSDMMapping, un_camel_case
EXT_ETYPES = set(['AuthorityRecord', 'ConceptScheme', 'Concept'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment