Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hgweb-auth.py @ 44729:26ce8e751503 stable 5.4rc0
merge default into stable for 5.4 release
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 16 Apr 2020 22:51:09 +0530 |
parents | 9d2b2df2c2ba |
children | ffd3e823a7e5 |
line wrap: on
line diff
--- a/tests/test-hgweb-auth.py Mon Apr 13 16:30:13 2020 +0300 +++ b/tests/test-hgweb-auth.py Thu Apr 16 22:51:09 2020 +0530 @@ -52,7 +52,7 @@ for name in (b'.username', b'.password'): if (p + name) not in auth: auth[p + name] = p - auth = dict((k, v) for k, v in auth.items() if v is not None) + auth = {k: v for k, v in auth.items() if v is not None} ui = writeauth(auth)