generic-poky/bitbake/lib/bb
Robert Yang 2639c37b25 Remove the async_cmds and sync_cmds from command.py
In bitbake/lib/bb/command.py::Command::__init__, we have the following
lines:

for attr in CommandsSync.__dict__:
    command = attr[:].lower()
    method = getattr(CommandsSync, attr)
    sync_cmds[command] = (method)

for attr in CommandsAsync.__dict__:
    command = attr[:].lower()
    method = getattr(CommandsAsync, attr)
    async_cmds[command] = (method)

The sync_cmds and async_cmds are defined as global dictionaries, but it
seems that we've never used them (I did a "grep -r async_cmds bitbake/",
, there is no result except the ones that I have removed), and I can't
find the history of it from "git log -p", I guess that they have been
replaced by the self.cmds_sync and self.cmds_async.

[YOCTO #1791]

(Bitbake rev: 24e99460800856035bb54a84c7aa33b3517436e9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-05 16:16:10 +00:00
..
fetch bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
fetch2 fetch2: fix Exception parameters when BB_STRICT_CHECKSUM enabled 2011-12-05 16:16:10 +00:00
parse bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
pysh make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
server bitbake/process.py: Ensure queued UI events are queued right before we add our own handler 2011-07-07 10:57:43 +01:00
ui bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py Increment version post release 2011-11-04 15:43:27 +00:00
build.py build.py: Be determistic about a function's cwd 2011-12-01 12:06:27 +00:00
cache.py bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
cache_extra.py Introduce extra cache class for image creator 2011-06-07 22:39:12 +01:00
codeparser.py bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
command.py Remove the async_cmds and sync_cmds from command.py 2011-12-05 16:16:10 +00:00
compat.py bitbake: Add missing file 2011-05-07 08:49:28 +01:00
cooker.py Remove the duplicated assignments of self.configuration.cmd 2011-12-05 16:15:46 +00:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
data_smart.py bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
event.py bitbake/event: Allow event handlers to quietly raise SkipPackage events 2011-09-02 18:15:27 +01:00
exceptions.py bb.exceptions: don't choke on frames without arguments 2011-06-08 20:38:25 +01:00
methodpool.py Consolidate the exec/eval bits, switch anonfunc to better_exec, etc 2010-07-02 15:41:31 +01:00
msg.py bitbake/lib/bb/msg.py: fix setting debug and verbosity levels 2011-09-25 16:25:27 +01:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
process.py make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
providers.py bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
runqueue.py bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
taskdata.py taskdata: fix string formatting of an error message 2011-09-20 22:22:21 +01:00
utils.py bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00