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

Correct arguments in Tornado get_arguments() usage #64

Merged
merged 1 commit into from
Sep 24, 2015
Merged

Correct arguments in Tornado get_arguments() usage #64

merged 1 commit into from
Sep 24, 2015

Conversation

usrlocalben
Copy link
Contributor

This method returns an empty list by default, and the second parameter,
'strip,' is a flag to enable stripping of the result strings. In recent
versions of Tornado (4.2.1 here) the 'strip' parameter is checked with
an assert to ensure that its type is Bool, and this Raises in
circus-web.

Previously, the empty list [] would have evaluated Falsey, so replacing
the second parameter with strip=False maintains the same behavior, while
fixing the call in newer versions of Tornado.

Also see #59

This method returns an empty list by default, and the second parameter,
'strip,' is a flag to enable stripping of the result strings. In recent
versions of Tornado (4.2.1 here) the 'strip' parameter is checked with
an assert to ensure that its type is Bool, and this Raises in
circus-web.

Previously, the empty list [] would have evaluated Falsey, so replacing
the second parameter with strip=False maintains the same behavior, while
fixing the call in newer versions of Tornado.

Also see
#59
Natim added a commit that referenced this pull request Sep 24, 2015
Correct arguments in Tornado get_arguments() usage
@Natim Natim merged commit e1b8ae0 into circus-tent:master Sep 24, 2015
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