I mean <long computing> lasts 30 hours, so I really don't want edit conflicts, and I got 2 during tests, because of frequent edits._______________________________________________2018-02-17 12:12 GMT+01:00 Bináris <wikiposta@gmail.com>:Is it useful to give a second chance to put() in case of edit conflict, or loop it?Is it useful to reinstantiate the page?So, is the likelihood of an edit conflict connected to elpased time between instantiation and put(), or between get() and put()?<long computing>Hi,I have
target = pywikibot.Page(site, uploadPage)
oldtext = target.get()
target.put(pretext + text, uploadComment)
pywikibot.exceptions.EditConflict: An edit conflict has occured.
--Bináris
--Bináris
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot