Skip to content

Commit

Permalink
Merge cdaeb99 into 4f165bf
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrit Jain committed Oct 11, 2019
2 parents 4f165bf + cdaeb99 commit 712312d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions thefuck/rules/aws_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ def match(command):


def get_new_command(command):
mistake = re.search(INVALID_CHOICE, command.output).group(0)
options = re.findall(OPTIONS, command.output, flags=re.MULTILINE)
return [replace_argument(command.script, mistake, o) for o in options]
mi = re.search(INVALID_CHOICE, command.output).group(0)
op = re.findall(OPTIONS, command.output, flags=re.MULTILINE)
return [replace_argument(command.script, mi, k) for k in op]

0 comments on commit 712312d

Please sign in to comment.