* morituri/common/drive.py:

If cdio.get_devices_with_cap finds a single drive, it returns a
	  str instead of a list.  Work around that bug.  Fixes #102.
	* morituri/test/test_common_drive.py (added):
	* morituri/test/Makefile.am:
	  Add test for it.  Caught a bug in my first implementation, too!
This commit is contained in:
Thomas Vander Stichele
2012-08-12 18:03:21 +00:00
parent 1e2f8aa93f
commit 1da3c8cdfb
4 changed files with 35 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ EXTRA_DIST = \
common.py \
test_common_accurip.py \
test_common_checksum.py \
test_common_drive.py \
test_common_musicbrainzngs.py \
test_common_program.py \
test_common_renamer.py \