jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/339399 )

Change subject: Add missing not-equal comparison for wbtypes
......................................................................


Add missing not-equal comparison for wbtypes

Bug: T158848
Change-Id: Ib6e992b7ed1c5b4b8feac205758bdbaebda2b09c
---
M pywikibot/_wbtypes.py
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Dalba: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/_wbtypes.py b/pywikibot/_wbtypes.py
index b0db7bf..dd3f5a5 100644
--- a/pywikibot/_wbtypes.py
+++ b/pywikibot/_wbtypes.py
@@ -47,3 +47,6 @@
 
     def __eq__(self, other):
         return self.__dict__ == other.__dict__
+
+    def __ne__(self, other):
+        return not self.__eq__(other)

-- 
To view, visit https://gerrit.wikimedia.org/r/339399
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib6e992b7ed1c5b4b8feac205758bdbaebda2b09c
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Lokal Profil <[email protected]>
Gerrit-Reviewer: Dalba <[email protected]>
Gerrit-Reviewer: Lokal Profil <[email protected]>
Gerrit-Reviewer: Magul <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to