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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user