Browse Source

Fix syntax.

Jelmer Vernooij 7 năm trước cách đây
mục cha
commit
4b76ad470d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)