Package portage :: Package package :: Package ebuild :: Package _ipc :: Module QueryCommand :: Class QueryCommand
[hide private]

Class QueryCommand

source code

           object --+    
                    |    
IpcCommand.IpcCommand --+
                        |
                       QueryCommand

Instance Methods [hide private]
 
__init__(self, settings, phase)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__call__(self, argv)
Returns: tuple of (stdout, stderr, returncode)
source code
 
_elog(self, elog_funcname, lines)
This returns a string, to be returned via ipc and displayed at the appropriate place in the build output.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
get_db(cls) source code
Class Variables [hide private]
  _db = None
hash(x)
Properties [hide private]
  phase
  settings

Inherited from object: __class__

Method Details [hide private]

__init__(self, settings, phase)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__call__(self, argv)
(Call operator)

source code 
Returns:
tuple of (stdout, stderr, returncode)
Overrides: IpcCommand.IpcCommand.__call__

_elog(self, elog_funcname, lines)

source code 

This returns a string, to be returned via ipc and displayed at the appropriate place in the build output. We wouldn't want to open the log here since it is already opened by AbstractEbuildProcess and we don't want to corrupt it, especially if it is being written with compression.