JAnD created this task.
JAnD added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
After svn update of pywikibot from R12566 to R12921 i got this message
AttributeError: module 'pywikibot.config2' has no attribute 'LS'
(used in cosmetic_changes.py, section cleansectionheaders)
i compared old code with actual and found that in pywikibot/config2 is
missing section
# Define the line separator. Pages retrieved via API have "\n" whereas
# pages fetched from screen (mostly) have "\r\n". Interwiki and category
# separator settings in family files should use multiplied of this.
# LS is a shortcut alias.
line_separator = LS = '\n'
after adding bot works again
TASK DETAIL
https://phabricator.wikimedia.org/T251503
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JAnD
Cc: Aklapper, JAnD, pywikibot-bugs-list, Dijkstra, Zkhalido, Viztor, Wenyi,
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx,
jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs