Jelmer Vernooij %!s(int64=7) %!d(string=hai) anos
pai
achega
4b76ad470d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)