main: remove unneeded condition in matchnodes
The end result in the `else` branch is the same, but flows naturally.
This commit is contained in:
parent
5356a0979a
commit
1b2de81404
|
@ -748,7 +748,7 @@ class Session(nodes.FSCollector):
|
||||||
self.trace("matchnodes", matching, names)
|
self.trace("matchnodes", matching, names)
|
||||||
self.trace.root.indent += 1
|
self.trace.root.indent += 1
|
||||||
|
|
||||||
if not matching or not names:
|
if not names:
|
||||||
result = matching
|
result = matching
|
||||||
else:
|
else:
|
||||||
name = names[0]
|
name = names[0]
|
||||||
|
|
Loading…
Reference in New Issue