-
Notifications
You must be signed in to change notification settings - Fork 136
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
A slash (/) in impact function docstrings break InaSAFE #173
Milestone
Comments
ghost
assigned uniomni
Jun 5, 2012
It appears that the reason it fails is the trailing '/' |
Interestingly, the function requirements_collect in impact_functions/core.py reads for cnt, line in enumerate(lines): doc_line = line.strip() if len(doc_line) == 0: continue if join_line and not doc_line.startswith(require_cmd): requires_lines[-1] = requires_lines[-1][:-1] + doc_line elif doc_line.startswith(require_cmd): requires_lines.append(doc_line[len(require_cmd) + 1:]) join_line = doc_line[-1] == '/' The documentation of this function states that it'll use the character '' to signify line continuation, so it looks like that |
uniomni
added a commit
that referenced
this issue
Jun 5, 2012
uniomni
added a commit
that referenced
this issue
Jun 5, 2012
This was resolved in commit ec7a557 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding the following to one impact function docstring causes all impact functions to fail:
The error message is
The text was updated successfully, but these errors were encountered: