Skip to content

Commit

Permalink
Arch: fix invalid print syntax in Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vocx-fc authored and wwmayer committed Jul 6, 2020
1 parent 8082def commit 6982b52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Arch/importIFCHelper.py
Expand Up @@ -27,6 +27,7 @@
import Arch
import ArchIFC

from draftutils.messages import _wrn

# ************************************************************************************************
# ********** some helper, used in import and export, or should stay together
Expand Down Expand Up @@ -568,7 +569,7 @@ def getPlacement(entity,scaling=1000):
if loc:
pl.move(loc)
elif entity.is_a("IfcAxis2Placement2D"):
print("not implemented IfcAxis2Placement2D, ")
_wrn("not implemented IfcAxis2Placement2D, ", end="")
elif entity.is_a("IfcLocalPlacement"):
pl = getPlacement(entity.PlacementRelTo,1) # original placement
relpl = getPlacement(entity.RelativePlacement,1) # relative transf
Expand Down

0 comments on commit 6982b52

Please sign in to comment.