commit | a4adafd55b870fbd08b876b10eb2f64903039a57 | [log] [tgz] |
---|---|---|
author | Greg Ward <gward@python.net> | Sat May 20 15:17:09 2000 +0000 |
committer | Greg Ward <gward@python.net> | Sat May 20 15:17:09 2000 +0000 |
tree | 37261009c0a2b91ecb1798a776fcd0a15e1b0268 | |
parent | f355d473fa477ece2c85f54bdcce38114cac4bee [diff] |
Changed the semantics of the 'sub_commands' list: instead of function objects, it now has method names. Added three methods, 'has_lib()', 'has_scripts()', and 'has_data()' to determine if we need to run each of the three possible sub-commands. Added 'get_sub_commands()' to take care of finding the methods named in 'sub_commands', running them, and interpreting the results to build a list of sub-commands that actually have to be run.