Revision: 7648 Author: alexsh Date: 2009-11-15 12:53:13 +0000 (Sun, 15 Nov 2009)
Log Message: ----------- disable API upload until bug fixed
Modified Paths: -------------- trunk/pywikipedia/upload.py
Modified: trunk/pywikipedia/upload.py =================================================================== --- trunk/pywikipedia/upload.py 2009-11-15 11:18:51 UTC (rev 7647) +++ trunk/pywikipedia/upload.py 2009-11-15 12:53:13 UTC (rev 7648) @@ -215,11 +215,11 @@ If the user chooses not to retry, returns null. """ try: - if config.use_api and self.targetSite.versionnumber() >= 16: - x = self.targetSite.api_address() - del x - else: - raise NotImplementedError + #if config.use_api and self.targetSite.versionnumber() >= 16: + # x = self.targetSite.api_address() + # del x + #else: + raise NotImplementedError except NotImplementedError: return self._uploadImageOld(debug)