[SCM] morituri/master: * morituri/common/Makefile.am: * morituri/common/drive.py (added): Add drive module.

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


The following commit has been merged in the master branch:
commit 361a83dc27597f5520fb7616e6404dfa52a19422
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sat May 23 18:24:39 2009 +0000

    	* morituri/common/Makefile.am:
    	* morituri/common/drive.py (added):
    	  Add drive module.

diff --git a/ChangeLog b/ChangeLog
index 64c2c63..156b8f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-05-23  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+	* morituri/common/Makefile.am:
+	* morituri/common/drive.py (added):
+	  Add drive module.
+
+2009-05-23  Thomas Vander Stichele  <thomas at apestaart dot org>
+
 	* morituri/program/cdparanoia.py:
 	* morituri/program/cdrdao.py:
 	* morituri/rip/cd.py:
diff --git a/morituri/common/Makefile.am b/morituri/common/Makefile.am
index ba4b57b..cf9fa0b 100644
--- a/morituri/common/Makefile.am
+++ b/morituri/common/Makefile.am
@@ -7,6 +7,7 @@ morituri_PYTHON = \
 	accurip.py \
 	checksum.py \
 	common.py \
+	drive.py \
 	log.py \
 	logcommand.py \
 	renamer.py \
diff --git a/misc/header.py b/morituri/common/drive.py
similarity index 80%
copy from misc/header.py
copy to morituri/common/drive.py
index 15b83ba..26f1988 100644
--- a/misc/header.py
+++ b/morituri/common/drive.py
@@ -1,4 +1,4 @@
-# -*- Mode: Python; test-case-name: morituri.test.test_header -*-
+# -*- Mode: Python; test-case-name: morituri.test.test_common_drive -*-
 # vi:si:et:sw=4:sts=4:ts=4
 
 # Morituri - for those about to RIP
@@ -19,3 +19,9 @@
 # 
 # You should have received a copy of the GNU General Public License
 # along with morituri.  If not, see <http://www.gnu.org/licenses/>.
+
+import pycdio
+import cdio
+
+def getAllDevicePaths():
+    return cdio.get_devices_with_cap(pycdio.FS_AUDIO, False)

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list