Package _emerge :: Module EbuildBuildDir :: Class EbuildBuildDir
[hide private]

Class EbuildBuildDir

source code

                        object --+    
                                 |    
portage.util.SlotObject.SlotObject --+
                                     |
                                    EbuildBuildDir

Nested Classes [hide private]
  AlreadyLocked
Instance Methods [hide private]
 
__init__(self, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
lock(self)
This raises an AlreadyLocked exception if lock() is called while a lock is already held.
source code
 
_assert_lock(self, async_lock) source code
 
clean_log(self)
Discard existing log.
source code
 
unlock(self) source code

Inherited from portage.util.SlotObject.SlotObject: copy

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

Properties [hide private]
  _catdir
  _lock_obj
  locked
  scheduler
  settings

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwargs)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

lock(self)

source code 

This raises an AlreadyLocked exception if lock() is called while a lock is already held. In order to avoid this, call unlock() or check whether the "locked" attribute is True or False before calling lock().

clean_log(self)

source code 

Discard existing log. The log will not be be discarded in cases when it would not make sense, like when FEATURES=keepwork is enabled.