Jelmer Vernooij před 7 roky
rodič
revize
4b76ad470d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)