Changes in test/sasdataloader/plugins/test_reader.py [aaf5e49:88d2e70] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/sasdataloader/plugins/test_reader.py
raaf5e49 r88d2e70 40 40 input_f = open(path,'r') 41 41 except : 42 raise RuntimeError , "ascii_reader: cannot open %s" % path42 raise RuntimeError("ascii_reader: cannot open %s" % path) 43 43 buff = input_f.read() 44 44 lines = buff.split('\n') … … 55 55 return output 56 56 else: 57 raise RuntimeError , "%s is not a file" % path57 raise RuntimeError("%s is not a file" % path) 58 58 return None 59 59
Note: See TracChangeset
for help on using the changeset viewer.