2012/1/29 Bináris <wikiposta(a)gmail.com>
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?…
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