changeset 48935 | 2cce2fa5bcf7 |
parent 48913 | f254fc73d956 |
child 48946 | 642e31cb55f0 |
--- a/mercurial/exchange.py Mon Feb 21 11:24:57 2022 -0700 +++ b/mercurial/exchange.py Tue Mar 01 20:52:32 2022 -0800 @@ -854,7 +854,7 @@ checks = {p: [] for p in phases.allphases} checks[phases.public].extend(pushop.remotephases.publicheads) checks[phases.draft].extend(pushop.remotephases.draftroots) - if any(pycompat.itervalues(checks)): + if any(checks.values()): for phase in checks: checks[phase].sort() checkdata = phases.binaryencode(checks)