# | 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) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |