Skip to content

Commit

Permalink
Remove stackstrap.yml. Fix #51
Browse files Browse the repository at this point in the history
  • Loading branch information
borgstrom committed Jan 20, 2014
1 parent 8842af5 commit 19b2368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stackstrap/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def render_in_place(*parts):
path(path_template[orig_path]))

# now destroy the stackstrap.yml file as it's no longer needed
shutil.rmtree(path('stackstrap.yml'), ignore_errors=True)
os.unlink(path('stackstrap.yml'))

self.log.info("Done! The project {name} has been created".format(
name=self.name
Expand Down
1 change: 1 addition & 0 deletions tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def test_project_creation(self):
assert os.path.isfile(os.path.join(tmp_dir, "test_project_creation", "Vagrantfile"))
assert os.path.isfile(os.path.join(tmp_dir, "test_project_creation", "README"))
assert not os.path.isfile(os.path.join(tmp_dir, "test_project_creation", "README.rst"))
assert not os.path.isfile(os.path.join(tmp_dir, "test_project_creation", "stackstrap.yml"))
finally:
os.chdir(orig_dir)
shutil.rmtree(tmp_dir)
Expand Down

0 comments on commit 19b2368

Please sign in to comment.