[SCM] morituri/master: pep8 fixes

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


The following commit has been merged in the master branch:
commit d248508f1133f259539b438b9b5168fa654b8089
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sat Nov 10 21:53:16 2012 +0000

    pep8 fixes

diff --git a/morituri/common/drive.py b/morituri/common/drive.py
index c4cfd5d..95c9452 100644
--- a/morituri/common/drive.py
+++ b/morituri/common/drive.py
@@ -24,12 +24,14 @@ import os
 
 from morituri.common import log
 
+
 def _listify(listOrString):
     if type(listOrString) == str:
         return [listOrString, ]
 
     return listOrString
 
+
 def getAllDevicePaths():
     try:
         return _getAllDevicePathsPyCdio()
@@ -37,6 +39,7 @@ def getAllDevicePaths():
         log.info('drive', 'Cannot import pycdio')
         return _getAllDevicePathsStatic()
 
+
 def _getAllDevicePathsPyCdio():
     import pycdio
     import cdio
@@ -46,6 +49,7 @@ def _getAllDevicePathsPyCdio():
     # ticket 102: this cdio call returns a list of str, or a single str
     return _listify(cdio.get_devices_with_cap(pycdio.FS_MATCH_ALL, False))
 
+
 def _getAllDevicePathsStatic():
     ret = []
 

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list