From bcd28ae1b88f853d58d1b67d746abb8bb504739a Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Wed, 17 Sep 2014 17:17:44 +0200 Subject: utils_prog: fix syntatic cruft MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- utils_prog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils_prog.py') diff --git a/utils_prog.py b/utils_prog.py index 1f01fd0..7bf4aee 100644 --- a/utils_prog.py +++ b/utils_prog.py @@ -217,7 +217,7 @@ def which(name, single='', *paths, **redefine_check): """ check, expand_path = redefine_check.pop('check', path_isfile), True if path_isabs(name): - where, expand_path = ['', ], False + where, expand_path = [''], False else: where = list(single.split(pathsep) if not tuplist(single) else single) where.extend(paths) -- cgit