(This e-mail started as part of a private exchange; per Fuzzyman's request
I'm posting it to the dev list. My original e-mail is bracketed.)
> [quiet]
> When running r2w.py, a setting to only print a line about built files
would
> be nice, similar to a "--quiet" option.
>
Ok, I can use the 'verbosity' feature of standout and let the user set a
verbosity level in the config file.
> [ini error message]
> When r2w.py is called without an ini file, there's a traceback message and
> then the error explanation:
> Traceback (most recent call last):
> File "/home/aji/code/dev/rest2web/r2w.py", line 145, in ?
> config = ConfigObj(cfg_file, file_error=True)
> File "/home/aji/code/dev/rest2web/pythonutils/configobj.py", line 873,
in
> __init__
> raise IOError, 'Config file not found: "%s".' % self.filename
> IOError: Config file not found: "/home/aji/dl/rest2web.ini".
>
> That's a little intimidating for a first-time user, and I tend to read the
> traceback and get sidetracked before I reach the last line, which tells me
> what the problem is. Can you kill the traceback and just output the
IOError
> message to make the error stand out?
>
Ok, no problem.
-=-
Thanks,
Andrew
|