Changeset 1239
- Timestamp:
- 09/05/06 19:44:31 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/Release2.1.0b/python/linecatalog.py
r1156 r1239 25 25 def __init__(self, name): 26 26 fpath = os.path.abspath(os.path.expandvars(os.path.expanduser(name))) 27 lcbase.__init__(self, fpath) 27 if os.path.exists(fpath): 28 lcbase.__init__(self, fpath) 29 else: 30 msg = "File '%s' not found" % fpath 31 if rcParams['verbose']: 32 print msg 33 return 34 else: 35 raise IOError(msg) 28 36 29 37 def summary(self): … … 96 104 Reset the table to its initial state, i.e. undo all calls to set_ 97 105 """ 98 lcbase.reset( )106 lcbase.reset(self) 99 107 100 108 def get_row(self, row=0):
Note:
See TracChangeset
for help on using the changeset viewer.