Lokal Profil has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/99/339399/1

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: newchange
Gerrit-Change-Id: Ib6e992b7ed1c5b4b8feac205758bdbaebda2b09c
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Lokal Profil <[email protected]>

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

Reply via email to