Commit 3960c209 authored by Élodie Thiéblin's avatar Élodie Thiéblin
Browse files

fix(imports): import from cubicweb_seda instead of .

--HG--
branch : seda21
parent 8ee3aaf4e1e0
......@@ -17,8 +17,8 @@
import json
from .xsd2yams import MULTIPLE_CHILDREN, CodeGenerator
from .xsd2uicfg import ordered_attributes
from cubicweb_seda.xsd2yams import MULTIPLE_CHILDREN, CodeGenerator
from cubicweb_seda.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 cubicweb_seda.xsd import XSDM_MAPPING
from cubicweb_seda.xsd2yams import CodeGenerator
FIRST_LEVEL_ETYPES = set(('SEDAArchiveTransfer',
......@@ -216,6 +216,7 @@ class Code(text_type):
"""Special string subclass whose repr() doesn't add quotes, for insertion of python code in a
data structure
"""
def __repr__(self):
return str(self)
......
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