Mercurial > public > mercurial-scm > hg
diff mercurial/exchange.py @ 41365:876494fd967d
cleanup: delete lots of unused local variables
These were found by IntelliJ. There are many more, but these seemed
pretty safe.
Differential Revision: https://phab.mercurial-scm.org/D5629
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 17 Jan 2019 09:17:12 -0800 |
parents | 33d30fb1e4ae |
children | 3b0ba4575c8c |
line wrap: on
line diff
--- a/mercurial/exchange.py Mon Sep 24 14:46:37 2018 -0700 +++ b/mercurial/exchange.py Thu Jan 17 09:17:12 2019 -0800 @@ -297,7 +297,6 @@ 'client')) elif part.type == 'stream2' and version is None: # A stream2 part requires to be part of a v2 bundle - version = "v2" requirements = urlreq.unquote(part.params['requirements']) splitted = requirements.split() params = bundle2._formatrequirementsparams(splitted)