ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/localize.py
(Generate patch)

Comparing localize.py (file contents):
Revision 1.13 by arta, Wed Feb 12 19:25:42 2014 UTC vs.
Revision 1.14 by arta, Thu Apr 17 19:11:05 2014 UTC

# Line 976 | Line 976 | def configureNet(cfgfile, cfile, mfile,
976          print(exc.strerror, file=sys.stderr)
977          print('Unable to read configuration file ' + cfgfile + '.', file=sys.stderr)
978      except Exception as exc:
979 <        type, msg = exc.args
979 >        if len(exc.args >= 2):
980 >            type, msg = exc.args
981 >        else:
982 >            # re-raise the exception
983 >            raise
984 >
985          if type == 'unexpectedIccRet':
986              print('icc -V returned this unexpected message:\n' + msg, file=sys.stderr)
987              rv = bool(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines