jenkins-bot has submitted this change and it was merged.
Change subject: Add revid to Notification object ......................................................................
Add revid to Notification object
Since most edit-related notifications include revid attributes, we should include the revids in the Notification objects as we're building them (if they exist).
Change-Id: Ifdb98e7c79729a1c2f7a5c4c4366e28071a48239 --- M pywikibot/echo.py 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/echo.py b/pywikibot/echo.py index f9fa001..6d6587b 100644 --- a/pywikibot/echo.py +++ b/pywikibot/echo.py @@ -43,6 +43,7 @@ notif.read = False
notif.content = data.get('*', None) + notif.revid = data.get('revid', None)
return notif
pywikibot-commits@lists.wikimedia.org