소스 검색

Fix syntax.

Jelmer Vernooij 7 년 전
부모
커밋
4b76ad470d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      dulwich/repo.py

+ 1 - 1
dulwich/repo.py

@@ -124,7 +124,7 @@ def check_user_identity(identity):
         fst, snd = identity.split(b' <', 1)
     except ValueError:
         raise InvalidUserIdentity(identity)
-    if not b'>' in snd:
+    if b'>' not in snd:
         raise InvalidUserIdentity(identity)