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

Gb/output version #133

Merged
merged 2 commits into from
Mar 9, 2020
Merged

Gb/output version #133

merged 2 commits into from
Mar 9, 2020

Conversation

grantbuster
Copy link
Member

No description provided.

@grantbuster grantbuster requested a review from MRossol March 9, 2020 18:53
mode = ['a', 'w', 'w-', 'x']
if self._mode not in mode:
raise HandlerRuntimeError('mode must be writable: {}'
Copy link
Member Author

Choose a reason for hiding this comment

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

@MRossol, note that I removed this exception. Not sure why we raised an error here.

Copy link
Collaborator

Choose a reason for hiding this comment

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

No idea, probably changed the usage along the way and forgot to remove...

Copy link
Collaborator

@MRossol MRossol left a comment

Choose a reason for hiding this comment

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

one super nit-picky style request. feel free to merge after that

Thoughts on version update. I'd say "bug" update?

mode = ['a', 'w', 'w-', 'x']
if self._mode not in mode:
raise HandlerRuntimeError('mode must be writable: {}'
Copy link
Collaborator

Choose a reason for hiding this comment

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

No idea, probably changed the usage along the way and forgot to remove...


return True
writable = False
return writable
Copy link
Collaborator

Choose a reason for hiding this comment

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

super nit-picky but can you add a line before the return for read-ability

Copy link
Member Author

Choose a reason for hiding this comment

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

Done and also changed the temp var to is_writable so it doesn't look conflicted with the property/method name.

@MRossol MRossol added bug Something isn't working feature New feature or request labels Mar 9, 2020
@grantbuster grantbuster merged commit 8095b4b into master Mar 9, 2020
@grantbuster grantbuster deleted the gb/output_version branch March 9, 2020 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants