py3: port PR changes to be compatible with Py3

This commit is contained in:
wmayer
2017-05-18 16:25:13 +02:00
parent ce8a423f2e
commit 5fbca1a4ad

View File

@@ -1146,8 +1146,8 @@ def p_polyhedron_action(p) :
v.append(FreeCAD.Vector(float(i[0]),float(i[1]),float(i[2])))
if printverbose:
print(v)
print "Polyhedron "+p[9]
print(p[12])
print ("Polyhedron "+p[9])
print (p[12])
faces_list = []
mypolyhed = doc.addObject('Part::Feature',p[1])
for i in p[12] :