mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
py 2 and 3
http://python3porting.com/noconv.html#handling-exceptions this is the first error i get when i try to start th eviewer from python 3 using the two-line from https://github.com/IfcOpenShell/IfcOpenShell/commit/1d1fb6d27a5bb1f221aed4dc290c1dc99a324e0f#commitcomment-17161165
This commit is contained in:
committed by
Thomas Krijnen
parent
a2b575eec8
commit
afce8b37c4
@@ -333,7 +333,7 @@ class application(QtGui.QApplication):
|
||||
if type_psets is None: continue
|
||||
for propset in type_psets:
|
||||
propsets.append(process_pset(propset))
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
import traceback
|
||||
print("failed to load properties: {}".format(e))
|
||||
traceback.print_exc()
|
||||
|
||||
Reference in New Issue
Block a user