8000 fix bug - need to download repo before creating virtualenv · pythonanywhere/helper_scripts@9c6c752 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c6c752

Browse files
committed
fix bug - need to download repo before creating virtualenv
1 parent 211f70d commit 9c6c752

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/pa_autoconfigure_django.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def main(repo_url, domain, python_version, nuke):
3232
project.sanity_checks(nuke=nuke)
3333
project.create_webapp(nuke=nuke)
3434
project.add_static_file_mappings()
35-
project.create_virtualenv(nuke=nuke)
3635
project.download_repo(repo_url, nuke=nuke),
36+
project.create_virtualenv(nuke=nuke)
3737
project.find_django_files()
3838
project.update_wsgi_file()
3939
project.update_settings_file()

tests/test_pa_autoconfigure_django.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ def test_calls_all_stuff_in_right_order(self):
2020
call.sanity_checks(nuke='nuke option'),
2121
call.create_webapp(nuke='nuke option'),
2222
call.add_static_file_mappings(),
23-
call.create_virtualenv(nuke='nuke option'),
2423
call.download_repo('repo.url', nuke='nuke option'),
24+
call.create_virtualenv(nuke='nuke option'),
2525
call.find_django_files(),
2626
call.update_wsgi_file(),
2727
call.update_settings_file(),

0 commit comments

Comments
 (0)
0