comparison mercurial/hgweb/hgwebdir_mod.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 46781c1b5049
children d8e55c0c642c
comparison
equal deleted inserted replaced
41364:0132221c25cd 41365:876494fd967d
141 141
142 # remove name parts plus accompanying slash 142 # remove name parts plus accompanying slash
143 path = path[:-len(discarded) - 1] 143 path = path[:-len(discarded) - 1]
144 144
145 try: 145 try:
146 r = hg.repository(ui, path) 146 hg.repository(ui, path)
147 directory = False 147 directory = False
148 except (IOError, error.RepoError): 148 except (IOError, error.RepoError):
149 pass 149 pass
150 150
151 parts = [ 151 parts = [