|
@@ -141,7 +141,6 @@ class LeFactory(object):
|
141
|
141
|
#Putting import directives in result
|
142
|
142
|
result += """## @author LeFactory
|
143
|
143
|
|
144
|
|
-from EditorialModel.model import Model
|
145
|
144
|
from leobject.leobject import _LeObject
|
146
|
145
|
from leobject.leclass import LeClass
|
147
|
146
|
from leobject.letype import LeType
|
|
@@ -164,11 +163,10 @@ import %s
|
164
|
163
|
## @brief _LeObject concret class
|
165
|
164
|
# @see leobject::leobject::_LeObject
|
166
|
165
|
class LeObject(_LeObject):
|
167
|
|
- _model = Model(backend=%s)
|
168
|
166
|
_datasource = %s(**%s)
|
169
|
167
|
_me_uid = %s
|
170
|
168
|
|
171
|
|
-""" % (backend_constructor, datasource_cls.__module__ + '.' + datasource_cls.__name__, repr(datasource_args), repr(leobj_me_uid))
|
|
169
|
+""" % ( datasource_cls.__module__ + '.' + datasource_cls.__name__, repr(datasource_args), repr(leobj_me_uid))
|
172
|
170
|
|
173
|
171
|
emclass_l = model.components(EditorialModel.classes.EmClass)
|
174
|
172
|
emtype_l = model.components(EditorialModel.types.EmType)
|