-
Committer:
chuck.bell at oracle
-
Date:
2011-10-13 13:56:10 UTC
-
Revision ID:
chuck.bell@oracle.com-20111013135610-xdea1odzbn5qqovg
BUG#12945167 : Refactor library to use lists for multi-valued conditions
This patch refactors the utilities code to remove extraneous
multi-valued conditions for if statements. For example, the following
was changed from:
if row[0] == 'a' or row[0] == 'b':
to:
if row[0] in ('a', 'b'):
This removes redundant calculations and makes the code easier to
read and maintain.