Mercurial > hg
comparison tests/run-tests.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 | 4f0ae5c64c1b |
children | f9150901267c |
comparison
equal
deleted
inserted
replaced
41364:0132221c25cd | 41365:876494fd967d |
---|---|
1223 if ret == 0: | 1223 if ret == 0: |
1224 ret = signal.SIGTERM << 8 | 1224 ret = signal.SIGTERM << 8 |
1225 killdaemons(env['DAEMON_PIDS']) | 1225 killdaemons(env['DAEMON_PIDS']) |
1226 return ret | 1226 return ret |
1227 | 1227 |
1228 output = b'' | |
1229 proc.tochild.close() | 1228 proc.tochild.close() |
1230 | 1229 |
1231 try: | 1230 try: |
1232 output = proc.fromchild.read() | 1231 output = proc.fromchild.read() |
1233 except KeyboardInterrupt: | 1232 except KeyboardInterrupt: |