From 361b1fb48c3ced4ff44b77570df9ed1b946f9b61 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mon, 12 Mar 2018 15:57:55 +0100 Subject: [PATCH] slapdtest: Fix error message for missing commands --- Lib/slapdtest/_slapdtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/slapdtest/_slapdtest.py b/Lib/slapdtest/_slapdtest.py index 484eb54..adcccb8 100644 --- a/Lib/slapdtest/_slapdtest.py +++ b/Lib/slapdtest/_slapdtest.py @@ -254,7 +254,7 @@ def _find_command(self, cmd, in_sbin=False): if command is None: raise ValueError( "Command '{}' not found. Set the {} environment variable to " - "override slapdtest's search path.".format(value, var_name) + "override slapdtest's search path.".format(cmd, var_name) ) return command