| Bugreporter added a subscriber: Framawiki. Bugreporter added a comment. |
def _callback(self, page, exc):
if exc is None:
self._touch_page(page)
def treat_page_and_item(self, page, item):
"""Treat page/item."""
if item and item.exists():
pywikibot.output(u'%s already has an item: %s.' % (page, item))
if self.getOption('touch'):
pywikibot.output(u'Doing a null edit on the page.')
self._touch_page(page)
returnSo the -touch option only considers page with item. For pages without item the touch is always done regardless whether you use -touch or not.
TASK DETAIL
EMAIL PREFERENCES
To: Bugreporter
Cc: Framawiki, gerritbot, Aklapper, pywikibot-bugs-list, Bugreporter, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy
Cc: Framawiki, gerritbot, Aklapper, pywikibot-bugs-list, Bugreporter, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
