From cbe95b18e650b1fc1b6fe28059590ae94a437d6e Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 30 Oct 2012 16:06:27 +0100 Subject: [PATCH] rename function to reveal new task: create_files_dirs Signed-off-by: Nico Schottelius --- cdist/config_install.py | 4 ++-- cdist/exec/local.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cdist/config_install.py b/cdist/config_install.py index 3aadca86..280f186c 100644 --- a/cdist/config_install.py +++ b/cdist/config_install.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# 2010-2011 Nico Schottelius (nico-cdist at schottelius.org) +# 2010-2012 Nico Schottelius (nico-cdist at schottelius.org) # # This file is part of cdist. # @@ -48,7 +48,7 @@ class ConfigInstall(object): self.remote = context.remote # Initialise local directory structure - self.local.create_directories() + self.local.create_files_dirs() # Initialise remote directory structure self.remote.create_directories() diff --git a/cdist/exec/local.py b/cdist/exec/local.py index 4d94789b..bb90ab6c 100644 --- a/cdist/exec/local.py +++ b/cdist/exec/local.py @@ -142,7 +142,7 @@ class Local(object): return self.run(command, env, return_output) - def create_context_files_dirs(self): + def create_files_dirs(self): self._create_context_dirs() self._create_conf_path_and_link_conf_dirs()