| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This reverts commit e120a0c.
| return self.call is not None and self.call.is_active() | ||
| # seeing if it's active. We need to return True if self.call is None. | ||
| # See https://github.com/googleapis/python-api-core/issues/560. | ||
| if self.call is not None and not self.call.is_active(): |
There was a problem hiding this comment.
It would be simpler and much clearer to have return self.call is None or self.call.is_active(). This is equivalent to what you have, by DeMorgan's theorem.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This reverts commit e120a0c
Fixes #560