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

Set option name to json output #406

Merged
merged 1 commit into from Mar 18, 2016
Merged

Set option name to json output #406

merged 1 commit into from Mar 18, 2016

Conversation

marsam
Copy link
Contributor

@marsam marsam commented Mar 18, 2016

This avoids shadowing the value of the option json with the json module

@@ -113,9 +113,9 @@ def clear_cache():
shell=True)


def show_errors(filename, errors, json=False, compact=False):
def show_errors(filename, errors, json_output=False, compact=False):
Copy link
Member

Choose a reason for hiding this comment

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

Can you rename this to output_json?

@suchow
Copy link
Member

suchow commented Mar 18, 2016

Thanks! I left two small line comments with a suggested change and a question.

This avoids shadowing the value of the option json with the json module
@marsam
Copy link
Contributor Author

marsam commented Mar 18, 2016

I've changed the parameter it to output_json

@suchow
Copy link
Member

suchow commented Mar 18, 2016

Great, thank you.

suchow added a commit that referenced this pull request Mar 18, 2016
@suchow suchow merged commit eb8f3be into amperser:master Mar 18, 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.

None yet

2 participants