mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
remove unnecessarily complicated conditional
This commit is contained in:
parent
f5b86b6a0f
commit
72170c5f30
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ class Completer(object):
|
|||
space = ' '
|
||||
slash = '/'
|
||||
rtn = {_normpath(repr(s + (slash if os.path.isdir(s) else '')))
|
||||
if (COMPLETION_WRAP_TOKENS.intersection(s) != set()) else
|
||||
if COMPLETION_WRAP_TOKENS.intersection(s) else
|
||||
s + space
|
||||
if s[-1:].isalnum() else
|
||||
s for s in out.splitlines()}
|
||||
|
|
Loading…
Add table
Reference in a new issue