1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

M #-: PyONE: rename buildChildren _buildChildren (#1393)

* remove python2-pyone
* adopt to generateDS 2.39

(cherry picked from commit 172fe4a2f2754fbcb05cd7648d048430263ec7ed)
This commit is contained in:
Jan Orel 2021-08-04 09:18:17 +02:00 committed by Ruben S. Montero
parent 541f18a30b
commit 7504e34e0b
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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_)