python3 exception handling
This commit is contained in:
parent
965fd44e6c
commit
86cb0a5ef5
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def locate_config(paths, filenames):
|
||||||
if os.path.exists(fp):
|
if os.path.exists(fp):
|
||||||
try:
|
try:
|
||||||
fd = inifile.inifile(fp)
|
fd = inifile.inifile(fp)
|
||||||
except None:
|
except SystemExit:
|
||||||
fd = None
|
fd = None
|
||||||
return fd
|
return fd
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue