From b481e4f79eda2f4e796a1b4425d34fc12140cd4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Sun, 18 Jul 2010 12:00:35 +0000 Subject: [PATCH] cli: Use the parsed separator in line_format --- pisi/cli/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pisi/cli/__init__.py b/pisi/cli/__init__.py index 2b927fb6..d7935c59 100644 --- a/pisi/cli/__init__.py +++ b/pisi/cli/__init__.py @@ -93,7 +93,9 @@ class CLI(pisi.ui.UI): for line in msg.split("\n"): key, _column, rest = line.partition(column) rest = align(rest) - new_msg += line_format % {"key":key, "column":column, "rest":rest} + new_msg += line_format % {"key": key, + "column": _column, + "rest": rest} if not noln: new_msg = "%s\n" % new_msg msg = new_msg