* 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

@@ -1,3 +1,12 @@
2012-08-12 Thomas Vander Stichele <thomas at apestaart dot org>
* 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!
2012-08-12 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/common/Makefile.am: