[Pkg-privacy-commits] [mat] 49/68: Fix the gui's metadata popup

Sascha Steinbiss sascha at steinbiss.name
Sun Jan 3 12:32:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

sascha-guest pushed a commit to branch master
in repository mat.

commit a027c0b989f7c7a5182db25aa628d2c138d024ae
Author: jvoisin <julien.voisin at dustri.org>
Date:   Wed Dec 16 15:00:14 2015 +0100

    Fix the gui's metadata popup
    
    It seems that Python is still sucking hard when it comes to encoding.
---
 libmat/parser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmat/parser.py b/libmat/parser.py
index 2a82a25..e36e921 100644
--- a/libmat/parser.py
+++ b/libmat/parser.py
@@ -28,7 +28,7 @@ class GenericParser(object):
         self.backup = backup
         self.is_writable = is_writable
         self.filename = filename
-        self.basename = os.path.basename(filename)
+        self.basename = os.path.basename(filename).decode('utf8')
         self.output = tempfile.mkstemp()[1]
 
     def __del__(self):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/mat.git



More information about the Pkg-privacy-commits mailing list