Package buildbot :: Package process :: Module factory :: Class ArgumentsInTheWrongPlace
[frames] | no frames]

Class ArgumentsInTheWrongPlace

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              ArgumentsInTheWrongPlace

When calling BuildFactory.addStep(stepinstance), addStep() only takes one argument. You passed extra arguments to addStep(), which you probably intended to pass to your BuildStep constructor instead. For example, you should do:

f.addStep(ShellCommand(command=['echo','stuff'], haltOnFailure=True))

instead of:

f.addStep(ShellCommand(command=['echo','stuff']), haltOnFailure=True)
Instance Methods

Inherited from exceptions.Exception: __init__, __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__

Inherited from object: __hash__, __reduce_ex__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__