[anaconda][master][PATCH 0/3] Use bools for flags and replace some redundant ifs
Martin Kolman
mkolman at redhat.com
Wed Jun 18 12:24:04 UTC 2014
Misc patches related to how we assign values to flags and the anaconda variables
from options. The main aim is to get rid of using integers in place of booleans and
to dump redundant ifs in favor of direct assignment.
Martin Kolman (3):
Use True/False instead of 1/0 for flags
Replace ifs when assigning option values to flags where possible
Replace redundant ifs with direct assignments to the anaconda
variables
anaconda | 61 +++++++++++++++++------------------------------------
pyanaconda/flags.py | 8 +++----
2 files changed, 23 insertions(+), 46 deletions(-)
--
1.9.3
More information about the anaconda-patches
mailing list