From 825f7986c763648fbecdc7b3617dad9640b3905d Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Tue, 14 Mar 2017 11:13:43 +0100 Subject: [PATCH] #322: Use unicode in `vagrant_up` rule --- thefuck/rules/vagrant_up.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/thefuck/rules/vagrant_up.py b/thefuck/rules/vagrant_up.py index 135dd60b..85595fb4 100644 --- a/thefuck/rules/vagrant_up.py +++ b/thefuck/rules/vagrant_up.py @@ -13,8 +13,9 @@ def get_new_command(command): if len(cmds) >= 3: machine = cmds[2] - startAllInstances = shell.and_("vagrant up", command.script) + start_all_instances = shell.and_(u"vagrant up", command.script) if machine is None: - return startAllInstances + return start_all_instances else: - return [shell.and_("vagrant up " + machine, command.script), startAllInstances] + return [shell.and_(u"vagrant up {}".format(machine), command.script), + start_all_instances]