From: Rob Golding Date: Wed, 5 Jun 2013 11:09:17 +0000 (+0100) Subject: Pass config_override through properly X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/ade25ab6ef26a73da25b3be09658ea39875dd6f3?ds=sidebyside;hp=--cc Pass config_override through properly --- ade25ab6ef26a73da25b3be09658ea39875dd6f3 diff --git a/tasklib/task.py b/tasklib/task.py index 411ce7a..5a223e2 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -234,8 +234,10 @@ class TaskWarrior(object): return command_args def execute_command(self, args, config_override={}): - p = subprocess.Popen(self._get_command_args(args), - stdout=subprocess.PIPE, stderr=subprocess.PIPE) + command_args = self._get_command_args( + args, config_override=config_override) + p = subprocess.Popen(command_args, stdout=subprocess.PIPE, + stderr=subprocess.PIPE) stdout, stderr = p.communicate() if p.returncode: error_msg = stderr.strip().splitlines()[-1]