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

fix PrettyJsonLintListener #184

Merged
merged 2 commits into from
Aug 7, 2024
Merged

fix PrettyJsonLintListener #184

merged 2 commits into from
Aug 7, 2024

Conversation

deathaxe
Copy link
Contributor

@deathaxe deathaxe commented Jul 31, 2024

Fixes #180

Replaces #181

This PR converts PrettyJsonLintListener into a ViewEventListener, so it contains self.view member, required by mixed in PrettyJsonBaseCommand class.

deathaxe added 2 commits July 31, 2024 15:03
This commit converts `PrettyJsonLintListener` into a `ViewEventListener`,
so it contains `self.view` member, required by mixed in `PrettyJsonBaseCommand`
class.
... regardless how many items are in `as_json`.
@TerminalFi TerminalFi merged commit 382534a into dzhibas:master Aug 7, 2024
1 check passed
@deathaxe deathaxe deleted the fix/event-listener branch August 7, 2024 16:56
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.

AttributeError: 'PrettyJsonLintListener' object has no attribute 'view'
4 participants