diff --git a/src/oca/python/Makefile b/src/oca/python/Makefile index 863c741f31..66d76a6f8c 100644 --- a/src/oca/python/Makefile +++ b/src/oca/python/Makefile @@ -14,8 +14,7 @@ # limitations under the License. # Use full path to ensure virtualenv compatibility -PYTHON = $(shell which python2) -PYTHON3 = $(shell which python3) +PYTHON = $(shell which python3) GDS = $(shell which generateDS) PWD = $(shell pwd) @@ -46,9 +45,6 @@ dist: install: ${PYTHON} setup.py install ${root} -install3: - ${PYTHON3} setup.py install ${root} - doc: mkdir -p doc PYTHONPATH=$(PWD) pdoc --overwrite --html --html-no-source --html-dir doc pyone diff --git a/src/oca/python/pyone/util.py b/src/oca/python/pyone/util.py index 21425bdf45..c7e3091c8f 100644 --- a/src/oca/python/pyone/util.py +++ b/src/oca/python/pyone/util.py @@ -137,6 +137,6 @@ class TemplatedType(object): ''' Mixin class for Templated bindings ''' - def buildChildren(self, child_, node, nodeName_, fromsubclass_=False, gds_collector_=None): + def _buildChildren(self, child_, node, nodeName_, fromsubclass_=False, gds_collector_=None): if not build_template_node(self, nodeName_, child_): - super(TemplatedType, self).buildChildren(child_,node,nodeName_,fromsubclass_,gds_collector_) + super(TemplatedType, self)._buildChildren(child_,node,nodeName_,fromsubclass_,gds_collector_)