mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
aliases.py: micro fix (#5454)
It's after all merged features. ## For community ⬇️ **Please click the 👍 reaction instead of leaving a `+1` or 👍 comment** Co-authored-by: a <1@1.1>
This commit is contained in:
parent
730fe45627
commit
bc8a243f2b
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ class Aliases(cabc.MutableMapping):
|
|||
# only once.
|
||||
if (
|
||||
isinstance(value, cabc.Iterable)
|
||||
and hasattr(value, 'len')
|
||||
and len(value) > 1
|
||||
and (isinstance(mod := self._raw.get(str(value[0])), SpecModifierAlias))
|
||||
):
|
||||
|
|
Loading…
Add table
Reference in a new issue