Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaea678b

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 parents453224a +7ed84a7 commitaea678b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎gitlab/objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,8 @@ def __eq__(self, other):
543543
iftype(other)istype(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
returnselfdict==otherdict
549549
returnFalse
550550

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp