forked from ungleich-public/cdist
os.path not os
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e03ebcd5c1
commit
fc6ae54889
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class Context:
|
||||||
"""Initialise output directory structure"""
|
"""Initialise output directory structure"""
|
||||||
|
|
||||||
# Create base dir, if user supplied and not existing
|
# Create base dir, if user supplied and not existing
|
||||||
if not os.isdir(self.base_dir):
|
if not os.path.isdir(self.base_dir):
|
||||||
os.mkdir(self.base_dir)
|
os.mkdir(self.base_dir)
|
||||||
|
|
||||||
os.mkdir(self.out_dir)
|
os.mkdir(self.out_dir)
|
||||||
|
|
Loading…
Reference in a new issue