mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +03:00
Possible fix for
This commit is contained in:
parent
1cb9605511
commit
e69ceebfc5
|
@ -130,9 +130,9 @@ def remove_docker_files():
|
||||||
Removes files needed for docker if it isn't going to be used
|
Removes files needed for docker if it isn't going to be used
|
||||||
"""
|
"""
|
||||||
for filename in ["dev.yml", "docker-compose.yml", ".dockerignore"]:
|
for filename in ["dev.yml", "docker-compose.yml", ".dockerignore"]:
|
||||||
os.remove(os.path.join(
|
filename = os.path.join(PROJECT_DIRECTORY, filename)
|
||||||
PROJECT_DIRECTORY, filename
|
if os.path.exists(filename):
|
||||||
))
|
os.remove(filename)
|
||||||
|
|
||||||
shutil.rmtree(os.path.join(
|
shutil.rmtree(os.path.join(
|
||||||
PROJECT_DIRECTORY, "compose"
|
PROJECT_DIRECTORY, "compose"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user