1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 12:06:04 +00:00

removed useless redefined of path variable (#1023)

This commit is contained in:
Eli Schiff 2019-12-16 15:56:12 -05:00 committed by Vladimir Iakovlev
parent 60073bea78
commit 25c858c13e

View File

@ -9,6 +9,6 @@ def match(command):
def get_new_command(command):
path = path = re.findall(
path = re.findall(
r"touch: (?:cannot touch ')?(.+)/.+'?:", command.output)[0]
return shell.and_(u'mkdir -p {}'.format(path), command.script)