-
Notifications
You must be signed in to change notification settings - Fork 24
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
Gb/output version #133
Conversation
mode = ['a', 'w', 'w-', 'x'] | ||
if self._mode not in mode: | ||
raise HandlerRuntimeError('mode must be writable: {}' |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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...
There was a problem hiding this 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: {}' |
There was a problem hiding this comment.
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...
reV/handlers/outputs.py
Outdated
|
||
return True | ||
writable = False | ||
return writable |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
f05ebf6
to
25f67fd
Compare
No description provided.