commit:     c5baf551987e2fb412caa396ae34f7f4341ad819
Author:     slis <lis.slawek <AT> gmail <DOT> com>
AuthorDate: Mon Mar 17 06:42:01 2014 +0000
Commit:     Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 06:42:01 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=c5baf551

Fix #504654 - problem with encoding for non-ascii filenames

---
 pym/gentoolkit/revdep_rebuild/stuff.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/gentoolkit/revdep_rebuild/stuff.py 
b/pym/gentoolkit/revdep_rebuild/stuff.py
index cc3da7b..7a8373d 100644
--- a/pym/gentoolkit/revdep_rebuild/stuff.py
+++ b/pym/gentoolkit/revdep_rebuild/stuff.py
@@ -22,7 +22,7 @@ def call_program(args):
        subp = subprocess.Popen(args, stdout=subprocess.PIPE, 
stderr=subprocess.PIPE)
        stdout, stderr = subp.communicate()
        stdout = stdout.decode('utf-8')
-       return str(stdout)
+       return stdout
 
 
 def scan(params, files, max_args, logger):

Reply via email to