From 0a02ca0bf5310c87d4bf19f00fd1d7a092c365d5 Mon Sep 17 00:00:00 2001 From: lxnay Date: Thu, 3 Jul 2008 10:02:56 +0000 Subject: [PATCH] Entropy/Equo: - fix unicode decoding issues in the orphans tool git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2235 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- client/text_query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/text_query.py b/client/text_query.py index 1e12442f3..0c13ac34b 100644 --- a/client/text_query.py +++ b/client/text_query.py @@ -487,7 +487,7 @@ def searchOrphans(EquoConnection = None): mask = [x for x in etpConst['filesystemdirsmask'] if filename.startswith(x)] if not mask: if not etpUi['quiet']: - print_info(red(" @@ ")+blue("%s: " % (_("Analyzing"),))+bold(filename[:50]+"..."), back = True) + print_info(red(" @@ ")+blue("%s: " % (_("Analyzing"),))+bold(unicode(filename[:50],'raw_unicode_escape')+"..."), back = True) foundFiles[filename] = "obj" if foundFiles: tdbconn.insertContent(1,foundFiles)