Only attempt copy when directory exists

This bug is the result of poor whitespace management.  Only copy
etc if etc is present.
This commit is contained in:
Craig Tracey 2015-10-09 23:02:12 -04:00
parent d31d804266
commit 8dd2e05a30
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class PackageBuilder(Builder):
else:
LOG.debug("Copying config from '%s' to '%s'", src_config,
dest_config)
distutils.dir_util.copy_tree(src_config, dest_config)
distutils.dir_util.copy_tree(src_config, dest_config)
def _install_project(self, venv_path, src_clone_dir):
pip_path = self._get_venv_pip_path(venv_path)