Skip to content

Commit 5994c63

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d23b23c commit 5994c63

File tree

1 file changed

+0
-2
lines changed
  • src/parameter_expansion

1 file changed

+0
-2
lines changed

src/parameter_expansion/pe.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def expand(s, env=None, strict=False):
8282
break
8383

8484
for plain in plain_exps:
85-
8685
expanded = "".join(expand_tokens(plain, env=env, strict=strict))
8786
logger_debug("expand: plain:", plain, "expanded:", expanded)
8887
s = s.replace(plain, expanded)
@@ -310,7 +309,6 @@ def follow_brace(shl, env, strict=False):
310309
return next(shl)
311310
return subst # ""
312311
elif modifier.isdigit() or modifier == ":":
313-
314312
# This is a Substring Expansion as in ${foo:4:2}, ${foo::2},
315313
# ${foo:4:} or ${foo:4:2} in the generale form of
316314
# ${parameter:start:length}. No start means start=0. No length

0 commit comments

Comments
 (0)