diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2016-03-02 20:52:32 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2016-03-02 20:52:32 +0100 |
commit | aea678b9398f87b6943f005ff207755aa8a982a4 (patch) | |
tree | 4f29c63ef14e57b0a651417811b7f660a80714dc /gitlab/objects.py | |
parent | 453224aaf64c37196b7211de8dd4a60061954987 (diff) | |
parent | 7ed84a7b4ca73d1b0cc6be7db0c43958ff9f4c47 (diff) | |
download | gitlab-aea678b9398f87b6943f005ff207755aa8a982a4.tar.gz |
Merge pull request #98 from Asher256/fix-unicode-syntax-py3
Fix the 'invalid syntax' on Python 3.2, because of u'password'
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r-- | gitlab/objects.py | 4 |
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 |