Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs@.

This commit is contained in:
Georg Brandl 2013-10-06 12:52:49 +02:00
parent 0688d68d14
commit a0b792354e
1 changed files with 2 additions and 2 deletions

View File

@ -129,13 +129,13 @@ creation according to their needs, the :class:`EnvBuilder` class.
env_dir is the target directory to create an environment in.
"""
env_dir = os.path.abspath(env_dir)
context = self.create_directories(env_dir)
context = self.ensure_directories(env_dir)
self.create_configuration(context)
self.setup_python(context)
self.setup_scripts(context)
self.post_setup(context)
Each of the methods :meth:`create_directories`,
Each of the methods :meth:`ensure_directories`,
:meth:`create_configuration`, :meth:`setup_python`,
:meth:`setup_scripts` and :meth:`post_setup` can be overridden.