diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2007-08-18 18:19:31 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2007-08-18 18:19:31 +0000 |
commit | 5f283282c7e6fa235f4396c53c69bceb11ed1083 (patch) | |
tree | 6b47c99b66d0fe36291ab32ca1ee988349d6a8d0 /lib/bb/command.py | |
parent | 0fe5bfa2e12c97d1a9f8d7d855ec9d68a9e33a39 (diff) | |
download | bitbake-5f283282c7e6fa235f4396c53c69bceb11ed1083.tar.gz |
command.py: Turn showEnvironment into an offline command
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index 7597e439d..39d0dcd46 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -114,16 +114,6 @@ class CommandsOnline: """ return command.cooker.commandlineAction - def showEnvironment(self, command, params): - """ - Print the environment - """ - bfile = params[0] - - command.cooker.showEnvironment(bfile) - - bb.event.fire(bb.command.CookerCommandCompleted(command.cooker.configuration.event_data)) - class CommandsOffline: """ A class of offline commands @@ -165,6 +155,14 @@ class CommandsOffline: command.cooker.showVersions() command.finishOfflineCommand() + def showEnvironment(self, command, params): + """ + Print the environment + """ + bfile = params[0] + + command.cooker.showEnvironment(bfile) + command.finishOfflineCommand() class CookerCommandCompleted(bb.event.Event): """ |