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) (#5636)

* remove python2-pyone
* adopt to generateDS 2.39
This commit is contained in:
Jan Orel 2021-11-25 10:55:47 +01:00 committed by GitHub
parent 5426249be1
commit cbc50bd94b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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_)