Fixed bug 625 in Arch module too

This commit is contained in:
Yorik van Havre 2012-03-13 10:05:04 -03:00
parent f22fc55363
commit 8fdc39df93
2 changed files with 5 additions and 2 deletions

View File

@ -31,7 +31,9 @@ __url__ = "http://free-cad.sourceforge.net"
DEBUG = True
SCHEMA = "http://www.steptools.com/support/stdev_docs/express/ifc2x3/ifc2x3_tc1.exp"
SKIP = ["IfcOpeningElement"]
pyopen = open # because we'll redefine open below
if open.__module__ == '__builtin__':
pyopen = open # because we'll redefine open below
def open(filename):
"called when freecad opens a file"

View File

@ -24,7 +24,8 @@
import FreeCAD
from draftlibs import fcgeo
pythonopen = open
if open.__module__ == '__builtin__':
pythonopen = open
def findVert(aVertex,aList):
"finds aVertex in aList, returns index"