python: OpenSCAD: *.py: Fix python3 syntax

This commit is contained in:
Priit Laes
2016-03-12 13:09:42 +02:00
committed by looooo
parent ab7a748629
commit 839e7eed22
9 changed files with 200 additions and 200 deletions

View File

@@ -45,8 +45,8 @@ def replaceobj(parent,oldchild,newchild):
else:
if propvalue == oldchild:
setattr(parent,propname,newchild)
print propname, parent.getPropertyByName(propname)
#else: print propname,propvalue
print(propname, parent.getPropertyByName(propname))
#else: print(propname,propvalue)
parent.touch()
def replaceobjfromselection(objs):