2012/1/29 Bináris <[email protected]>

>  The next idea is to mine into except clause, but I forgot the code that
> displays the error message for a general "except". I saw it somewhere a few
> days ago...
>

I found it in archivebot.py:
        import traceback
     traceback.print_exc()

The exception is SystemExit: 0
It is caused by line 7813 in the current version:
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?revision=9846&view=markup

This part of handleArgs:
7811
  if do_help:  7812     showHelp()  7813     sys.exit(0)  7814   return
nonGlobalArgs If I comment 7813 out, it works properly.


-- 
Bináris
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to