[SCM] morituri/master: Convert values returned from pycdio to str (workaround for upstream bug)

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:10:03 UTC 2014


The following commit has been merged in the master branch:
commit 35f568181ffe653d0619ca3e43c12b5662df1be6
Author: dioltas <dioltas at lavabit.com>
Date:   Wed Mar 6 19:12:03 2013 +0000

    Convert values returned from pycdio to str (workaround for upstream bug)

diff --git a/morituri/common/drive.py b/morituri/common/drive.py
index 80c3de6..a206ac0 100644
--- a/morituri/common/drive.py
+++ b/morituri/common/drive.py
@@ -34,7 +34,8 @@ def _listify(listOrString):
 
 def getAllDevicePaths():
     try:
-        return _getAllDevicePathsPyCdio()
+        # see https://savannah.gnu.org/bugs/index.php?38477
+        return [str(dev) for dev in _getAllDevicePathsPyCdio()]
     except ImportError:
         log.info('drive', 'Cannot import pycdio')
         return _getAllDevicePathsStatic()

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list