Skip to content

Commit aea678b

Browse files
author
Gauvain Pocentek
committed
Merge pull request #98 from Asher256/fix-unicode-syntax-py3
Fix the 'invalid syntax' on Python 3.2, because of u'password'
2 parents 453224a + 7ed84a7 commit aea678b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab/objects.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,8 @@ def __eq__(self, other):
543543
if type(other) is type(self):
544544
selfdict = self.as_dict()
545545
otherdict = other.as_dict()
546-
selfdict.pop(u'password', None)
547-
otherdict.pop(u'password', None)
546+
selfdict.pop('password', None)
547+
otherdict.pop('password', None)
548548
return selfdict == otherdict
549549
return False
550550

0 commit comments

Comments
 (0)