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

Improve check_zip_file to calculate a minimum length #548

Merged
merged 1 commit into from
Aug 15, 2016
Merged

Improve check_zip_file to calculate a minimum length #548

merged 1 commit into from
Aug 15, 2016

Conversation

benbridts
Copy link
Contributor

This reworks the check_zip_file function (#537 and 1f69f01) to always try to get a minimum length, even if not all parts are strings.

My original plan was to only replace return on line 56 with continue, but when I started writing it, I saw that I could also use list comprehension instead of a loop (and make the variable name use snake_case).

@markpeek markpeek merged commit c07ffdc into cloudtools:master Aug 15, 2016
@markpeek
Copy link
Member

Thanks for reworking this function and cleaning it up.

amosshapira pushed a commit to amosshapira/troposphere that referenced this pull request Oct 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants