Package gbp :: Module command_wrappers :: Class CatenateZipArchive
[hide private]
[frames] | no frames]

Class CatenateZipArchive

object --+    
         |    
   Command --+
             |
            CatenateZipArchive

Wrap zipmerge tool to catenate a zip file with the next

Instance Methods [hide private]
 
__init__(self, archive, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__call__(self, target)
Run the command and convert all errors into CommandExecFailed.

Inherited from Command: call

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, archive, **kwargs)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

__call__(self, target)
(Call operator)

 

Run the command and convert all errors into CommandExecFailed. Assumes that the lower levels printed an error message (the command itself and also via our logging api) - only useful if you only expect 0 as result.

Parameters:
  • quiet - don't log failed execution to stderr. Mostly useful during unit testing
Overrides: Command.__call__
(inherited documentation)