Skip to content

Commit

Permalink
Make cache creation use os.makedirs
Browse files Browse the repository at this point in the history
This closes pylint-dev#4900
  • Loading branch information
DanielNoord committed Sep 9, 2021
1 parent 1e85bb7 commit 51badf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint/config/__init__.py
Expand Up @@ -125,7 +125,7 @@ def load_results(base):
def save_results(results, base):
if not os.path.exists(PYLINT_HOME):
try:
os.mkdir(PYLINT_HOME)
os.makedirs(PYLINT_HOME)
except OSError:
print(f"Unable to create directory {PYLINT_HOME}", file=sys.stderr)
data_file = _get_pdata_path(base, 1)
Expand Down

0 comments on commit 51badf8

Please sign in to comment.