os.path not os

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 14 years ago
parent e03ebcd5c1
commit fc6ae54889
  1. 2
      lib/cdist/context.py

@ -106,7 +106,7 @@ class Context:
"""Initialise output directory structure"""
# 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.out_dir)

Loading…
Cancel
Save