abian added a comment. In https://phabricator.wikimedia.org/T106580#1472472, @XZise wrote:
> With Gerrit 194542 <https://gerrit.wikimedia.org/r/194542> I add the feature > that it returns False in case an error happens. As most return None by > default it's complicated to return True. Unfortunately I don't know if that > applies to all cases where you expect False (e.g. because of an error within). Indeed, it would be useful to return False because of an error within, but that's a big task, and your commit is a nice step, thanks for it. Now, I only need to know, using upload.py, if a file has finally been uploaded or not. TASK DETAIL https://phabricator.wikimedia.org/T106580 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: abian Cc: XZise, Aklapper, abian, pywikibot-bugs-list, jayvdb, Malyacko, P.Copp _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
