Skip a few unused assignments
Change-Id: Ia631627fb2e4e7eacf912a08d168e7b0a5700db7 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
This commit is contained in:
parent
bc5953f35b
commit
9acd053619
@ -213,12 +213,8 @@ def _fixedLookupChain(dirname, name):
|
||||
return items
|
||||
|
||||
def _findEntry(base, path, draft=None, attribute=None):
|
||||
file = base
|
||||
if base.endswith(".xml"):
|
||||
filename = base
|
||||
base = base[:-4]
|
||||
else:
|
||||
file = base + ".xml"
|
||||
(dirname, filename) = os.path.split(base)
|
||||
|
||||
items = _fixedLookupChain(dirname, filename)
|
||||
|
Loading…
Reference in New Issue
Block a user