summaryrefslogtreecommitdiffstats
path: root/utils_prog.py
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-09-17 17:17:44 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-09-17 22:47:24 +0200
commitbcd28ae1b88f853d58d1b67d746abb8bb504739a (patch)
tree1a66bc75478b1e6e17ba67e4045887c8f57ea20c /utils_prog.py
parenta356306cfffcc12897c1ba377bfd1d911175033f (diff)
downloadclufter-bcd28ae1b88f853d58d1b67d746abb8bb504739a.tar.gz
clufter-bcd28ae1b88f853d58d1b67d746abb8bb504739a.tar.xz
clufter-bcd28ae1b88f853d58d1b67d746abb8bb504739a.zip
utils_prog: fix syntatic cruft
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'utils_prog.py')
-rw-r--r--utils_prog.py2
1 files changed, 1 insertions, 1 deletions
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)