Make sure that there is always a config_errors member

pull/7277/head
Jimmy Brisson 2018-06-21 11:15:35 -05:00
parent c380304b93
commit 12f490fa02
1 changed files with 1 additions and 0 deletions

View File

@ -430,6 +430,7 @@ class Config(object):
search for a configuration file).
"""
config_errors = []
self.config_errors = []
self.app_config_location = app_config
if self.app_config_location is None and top_level_dirs:
self.app_config_location = self.find_app_config(top_level_dirs)