summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2016-03-05 14:24:05 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2016-03-05 14:24:05 +0100
commite46c18898deb8579d4fee0e76bfc17abed12c512 (patch)
tree1f1d90caf6f9f30c7ec491f18ce851508bd461c8 /gitlab/objects.py
parent86ade4ac78fd14cc8f12be39c74ff60688a2fcf7 (diff)
parentaea678b9398f87b6943f005ff207755aa8a982a4 (diff)
downloadgitlab-e46c18898deb8579d4fee0e76bfc17abed12c512.tar.gz
Merge branch 'master' of github.com:gpocentek/python-gitlab
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