Fix logger statements having multiple arguments

Some of the instructions have been rendered invalid during the conversion to logger statements...

Also performed various stylistic fixes
This commit is contained in:
JoeLametta
2018-12-14 11:02:20 +00:00
parent a23b214814
commit a4f654a3f3
21 changed files with 182 additions and 214 deletions

View File

@@ -48,7 +48,7 @@ class Analyze(BaseCommand):
info = drive.getDeviceInfo(self.options.device)
if not info:
logger.error('Drive caching behaviour not saved: '
logger.error('drive caching behaviour not saved: '
'could not get device info')
return
@@ -67,7 +67,7 @@ class List(BaseCommand):
self.config = config.Config()
if not paths:
logger.critical('No drives found. Create /dev/cdrom '
logger.critical('no drives found. Create /dev/cdrom '
'if you have a CD drive, or install '
'pycdio for better detection')
return