thoughtnirvana/samurai-client-python — comment on commit c15b2ff628123e9a2fae6bfdfaa4cd1e6d8435b7
File: samurai/api_base.py line 56
By rahulkmr:

The flag `if error` is verifying the same thing(if subclass is error). This filter operation isn't needed.