summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2015-12-16 18:35:27 +0100
committerJan Pokorný <jpokorny@redhat.com>2015-12-17 23:38:56 +0100
commit420c022d8bf73615f1093adcc276bcc09b4954c5 (patch)
tree6ce226d155174ecfba337524fa6218ad69c15e10 /commands
parentc1df8e1a0d97e3a9fa6a2b8a96244455006282cb (diff)
downloadclufter-420c022d8bf73615f1093adcc276bcc09b4954c5.tar.gz
clufter-420c022d8bf73615f1093adcc276bcc09b4954c5.tar.xz
clufter-420c022d8bf73615f1093adcc276bcc09b4954c5.zip
commands: fix inner logic of chains wrt. singular tail
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'commands')
-rw-r--r--commands/_chains_pcs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/_chains_pcs.py b/commands/_chains_pcs.py
index 36edb48..9539dbd 100644
--- a/commands/_chains_pcs.py
+++ b/commands/_chains_pcs.py
@@ -5,7 +5,7 @@
"""Chains of filters used in *2pcs* commands"""
__author__ = "Jan Pokorný <jpokorny @at@ Red Hat .dot. com>"
-from ..utils import args2unwrapped, tuplist
+from ..utils import args2sgpl, args2unwrapped, tuplist
from ..utils_func import apply_aggregation_preserving_passing_depth
terminalize = lambda args: \
@@ -30,14 +30,14 @@ ccsflat2cibfinal_chain_exec = lambda cont=(): \
('ccsflat2cibprelude',
('cibprelude2cibcompact',
('cibcompact2cib',
- args2unwrapped('cib2cibfinal', *cont)))))
+ (args2unwrapped('cib2cibfinal', *args2sgpl(cont)))))))
ccsflat2cibfinal_chain = ccsflat2cibfinal_chain_exec()
ccsflat2cibfinal_output = cast_output(ccsflat2cibfinal_chain)
cib2pcscmd_chain_exec = lambda cont=(): \
('cib-revitalize',
('cib-meld-templates',
- args2unwrapped('cib2pcscmd', *cont)))
+ (args2unwrapped('cib2pcscmd', *args2sgpl(cont)))))
cib2pcscmd_chain = cib2pcscmd_chain_exec()
cib2pcscmd_output = cast_output(cib2pcscmd_chain)