This change tests for the rpc value passed to the driver to be not None. The explicity check does not change the logic and avoid a difference in Python 2 vs Python 3 to resolve the boolean value of an object. Python 2 calls __nonzero__() to get boolean value of an object and Python 3 calls __boolean__(). Change-Id: I50a228840735bc1a7b0d857d0b28e01b4f836aefchanges/28/449828/1
parent
16800bddbb
commit
6d2d1c34af
Loading…
Reference in new issue