_get_log_file_path explictly return, when logfile/logdire unset
Add an explicit 'return None' Change-Id: I85176b9ba6334d694c8a71901ad358f487d6bc88
This commit is contained in:
@@ -207,6 +207,8 @@ def _get_log_file_path(binary=None):
|
||||
binary = binary or _get_binary_name()
|
||||
return '%s.log' % (os.path.join(logdir, binary),)
|
||||
|
||||
return None
|
||||
|
||||
|
||||
class BaseLoggerAdapter(logging.LoggerAdapter):
|
||||
|
||||
|
Reference in New Issue
Block a user