[SCM] morituri/master: * morituri/rip/image.py: Fix more utf-8 issues.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:18 UTC 2014


The following commit has been merged in the master branch:
commit 887ee06c654b2a651e846fe2cf53ab143c2e4958
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Wed Apr 14 07:23:06 2010 +0000

    	* morituri/rip/image.py:
    	  Fix more utf-8 issues.

diff --git a/ChangeLog b/ChangeLog
index a11d4a1..b756990 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-04-14  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+	* morituri/rip/image.py:
+	  Fix more utf-8 issues.
+
+2010-04-14  Thomas Vander Stichele  <thomas at apestaart dot org>
+
 	* morituri/image/image.py:
 	  Remove dead code.
 
diff --git a/morituri/rip/image.py b/morituri/rip/image.py
index 48662d4..f5eed78 100644
--- a/morituri/rip/image.py
+++ b/morituri/rip/image.py
@@ -106,7 +106,7 @@ class Retag(logcommand.LogCommand):
 
         for arg in args:
             print 'Retagging image %r' % arg
-            arg = unicode(arg)
+            arg = arg.decode('utf-8')
             cueImage = image.Image(arg)
             cueImage.setup(runner)
 
@@ -136,7 +136,7 @@ class Verify(logcommand.LogCommand):
         cache = accurip.AccuCache()
 
         for arg in args:
-            arg = unicode(arg)
+            arg = arg.decode('utf-8')
             cueImage = image.Image(arg)
             cueImage.setup(runner)
 

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list