Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hack in a fix for missing version slug deploy that went out a while back #3433

Merged
merged 2 commits into from
Dec 21, 2017

Conversation

ericholscher
Copy link
Member

@ericholscher ericholscher commented Dec 21, 2017

Also has some updates to symlink command, so we can properly rebuild web05 without running out of memory.

@ericholscher ericholscher added the PR: hotfix Pull request applied as hotfix to release label Dec 21, 2017
@@ -75,6 +75,10 @@ def footer_html(request):
subproject = request.GET.get('subproject', False)
source_suffix = request.GET.get('source_suffix', '.rst')

# Hack in a fix for missing version slug deploy that went out a while back
if version_slug == '':
version_slug = 'latest'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this is better,

if not version_slug:
    version_slug = LATEST

The "linting" guy :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually want to check it being an empty string, not None, because that is the error I'm catching.

@ericholscher ericholscher merged commit 5901dcb into master Dec 21, 2017
@stsewd stsewd deleted the hotfix-verison-slug-hack branch August 15, 2018 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: hotfix Pull request applied as hotfix to release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants