浏览代码

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)