[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Booty cleanup patchset



It is about time someone put a firehose on booty to thoroughly
clean it up, attached is a first attempt at making booty cleaner.

The attached patchset moves booty over from using device names to devices
one function at a time, this leads to some bits of code coming and going
between patches, the end result as one big patch would be:

 bootloader.py            |   16 ++++-----
 booty/alpha.py           |   16 +--------
 booty/bootloaderInfo.py  |    3 +
 booty/checkbootloader.py |   76 +++++++++--------------------------------------
 booty/ppc.py             |    1 
 booty/sparc.py           |    5 +--
 booty/util.py            |   38 ++++-------------------
 booty/x86.py             |   62 +++++++++++++++++++-------------------
 8 files changed, 68 insertions(+), 149 deletions(-)

And more importantly a whole lot of getDeviceByName, devpathToName, etc
calls are gone.

Note this is entirely untested sofar, and now it is weekend for me :)

Regards,

Hans


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]