[SCM] morituri/master: * morituri/rip/image.py: Don't splitext on inputdir; fixes encoding of directories like Sigur Ros - Takk... (which removed a period)

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


The following commit has been merged in the master branch:
commit b3aa22194b50ccc0997202c6f8da742989969950
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sat Apr 10 23:01:54 2010 +0000

    	* morituri/rip/image.py:
    	  Don't splitext on inputdir; fixes encoding of directories like
    	  Sigur Ros - Takk... (which removed a period)

diff --git a/ChangeLog b/ChangeLog
index 5a1860e..7f762d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-11  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+	* morituri/rip/image.py:
+	  Don't splitext on inputdir; fixes encoding of directories like
+	  Sigur Ros - Takk... (which removed a period)
+
 2010-04-09  Thomas Vander Stichele  <thomas at apestaart dot org>
 
 	* morituri/image/table.py:
diff --git a/morituri/rip/image.py b/morituri/rip/image.py
index 0ff3732..3a750e9 100644
--- a/morituri/rip/image.py
+++ b/morituri/rip/image.py
@@ -67,7 +67,7 @@ class Encode(logcommand.LogCommand):
             cueImage = image.Image(arg)
             cueImage.setup(runner)
             # FIXME: find a decent way to get an album-specific outdir
-            root, ext = os.path.splitext(os.path.basename(indir))
+            root = os.path.basename(indir)
             outdir = os.path.join(prog.outdir, root)
             try:
                 os.makedirs(outdir)

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list