1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00

removed useless redefined of path variable

This commit is contained in:
Eli Schiff 2019-12-14 12:43:32 -05:00 committed by GitHub
parent d10fc80fa5
commit 3e8877cdba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)