Skip to content

Commit

Permalink
Merge pull request #98 from Asher256/fix-unicode-syntax-py3
Browse files Browse the repository at this point in the history
Fix the 'invalid syntax' on Python 3.2, because of u'password'
  • Loading branch information
Gauvain Pocentek committed Mar 2, 2016
2 parents 453224a + 7ed84a7 commit aea678b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitlab/objects.py
Expand Up @@ -543,8 +543,8 @@ def __eq__(self, other):
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

Expand Down

0 comments on commit aea678b

Please sign in to comment.