Fix PyLint warning

This commit is contained in:
Ivan Kravets
2017-05-05 13:02:20 +03:00
parent 70df106f57
commit a8da7dcfd3

View File

@ -229,7 +229,7 @@ def get_home_dir():
if not isdir(home_dir):
try:
os.makedirs(home_dir)
except WindowsError:
except: # pylint: disable=bare-except
if win_home_dir:
os.makedirs(win_home_dir)
home_dir = win_home_dir