On 22 February 2012 11:24, Bináris <[email protected]> wrote:

>
>    1. Let's introduce a new config parameter suppress with default False.
>    2. pywikibot.output should return immediately upon detecting
>    suppress=True. One central handle for majority of screen outputs.
>
> How would this be different from

python bot.py 2>&1 > /dev/null

?

Furthermore, the logging module is *not* difficult and a lot of useful
wrapper functions for pywikipedia already exist in the rewrite branch:
http://svn.wikimedia.org/viewvc/pywikipedia/branches/rewrite/pywikibot/bot.py?view=markup

(around line 217)

Best,
Merlijn
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to