Changeset 11789
- Timestamp:
- 03/25/12 00:27:50 (13 years ago)
- Location:
- issm/trunk-jpl/src/py
- Files:
-
- 8 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/py/model/display/fielddisplay.py
r11787 r11789 31 31 32 32 elif isinstance(field, complex): 33 print("fielddisplay cannot handle complex numbers") 34 sys.exit() 33 raise RuntimeError("fielddisplay cannot handle complex numbers") 35 34 36 35 elif isinstance(field, float): … … 92 91 string="%s%s"%(string,string2) 93 92 else: 94 print("fielddisplay error message: format for comment not supportet yet") 95 sys.exit() 93 raise RuntimeError("fielddisplay error message: format for comment not supportet yet") 96 94 97 95 return string
Note:
See TracChangeset
for help on using the changeset viewer.