summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index c453daf..34a50e6 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -543,8 +543,8 @@ class User(GitlabObject):
if type(other) is type(self):
selfdict = self.as_dict()
otherdict = other.as_dict()
- selfdict.pop(u'password', None)
- otherdict.pop(u'password', None)
+ selfdict.pop('password', None)
+ otherdict.pop('password', None)
return selfdict == otherdict
return False