[yum-git] output.py
James Antill
james at linux.duke.edu
Tue Apr 8 15:59:35 UTC 2008
output.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 62ab855a738e0f8b0f8d3816ebeeb1ec8822e4f9
Author: James Antill <james at and.org>
Date: Tue Apr 8 11:59:00 2008 -0400
Really fix the misc.to_str call
diff --git a/output.py b/output.py
index 9d6cd62..8b975ee 100644
--- a/output.py
+++ b/output.py
@@ -29,7 +29,7 @@ import re # For YumTerm
from urlgrabber.progress import TextMeter
from urlgrabber.grabber import URLGrabError
-from yum.misc import sortPkgObj, prco_tuple_to_string
+from yum.misc import sortPkgObj, prco_tuple_to_string, to_str
from rpmUtils.miscutils import checkSignals
from yum.constants import *
@@ -38,8 +38,6 @@ from yum.rpmtrans import RPMBaseCallback
from textwrap import fill
-import misc
-
class YumTextMeter(TextMeter):
"""
@@ -255,7 +253,7 @@ class YumOutput:
def fmtKeyValFill(self, key, val):
""" Return a key value pair in the common two column output format. """
- val = misc.to_str(val)
+ val = to_str(val)
keylen = len(key)
cols = self.term.columns
nxt = ' ' * (keylen - 2) + ': '
More information about the Yum-cvs-commits
mailing list