Revision: 5525 Author: valhallasw Date: 2008-06-08 12:11:14 +0000 (Sun, 08 Jun 2008)
Log Message: ----------- and an ugly catch-all-exception instead of just the IOError...
Modified Paths: -------------- trunk/pywikipedia/version.py
Modified: trunk/pywikipedia/version.py =================================================================== --- trunk/pywikipedia/version.py 2008-06-08 12:07:32 UTC (rev 5524) +++ trunk/pywikipedia/version.py 2008-06-08 12:11:14 UTC (rev 5525) @@ -28,7 +28,7 @@ except Exception, e: try: (tag, rev, date) = getversion_nightly() - except IOError, e: + except Exception, e: import wikipedia d = wikipedia.__version__.split(' ') tag = ''
pywikipedia-l@lists.wikimedia.org