version 1.15, 2014/04/17 23:16:56
|
version 1.16, 2014/04/18 18:51:51
|
Line 976 def configureNet(cfgfile, cfile, mfile, |
|
Line 976 def configureNet(cfgfile, cfile, mfile, |
|
print(exc.strerror, file=sys.stderr) | print(exc.strerror, file=sys.stderr) |
print('Unable to read configuration file ' + cfgfile + '.', file=sys.stderr) | print('Unable to read configuration file ' + cfgfile + '.', file=sys.stderr) |
except Exception as exc: | except Exception as exc: |
if len(exc.args >= 2): |
if len(exc.args) >= 2: |
type, msg = exc.args | type, msg = exc.args |
else: | else: |
# re-raise the exception | # re-raise the exception |