Package bitten :: Module recipe :: Class Step

Class Step

object --+
         |
        Step

Represents a single step of a build recipe.

Iterate over an object of this class to get the commands to execute, and their keyword arguments.

Instance Methods
 
__init__(self, elem, onerror_default)
Create the step.
 
__repr__(self)
repr(x)
 
execute(self, ctxt)
Execute this step in the given context.

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

Properties

Inherited from object: __class__

Method Details

__init__(self, elem, onerror_default)
(Constructor)

 
Create the step.
Parameters:
Overrides: object.__init__

__repr__(self)
(Representation operator)

 
repr(x)
Overrides: object.__repr__
(inherited documentation)

execute(self, ctxt)

 
Execute this step in the given context.
Parameters:
  • ctxt (Context) - the build context