Package lib :: Package cuckoo :: Package common :: Module config :: Class Config
[hide private]
[frames] | no frames]

Class Config

source code

Configuration file parser.

Instance Methods [hide private]
 
__init__(self, cfg='/tmp/cuckoo/conf/cuckoo.conf') source code
 
get(self, section)
Get option.
source code
Method Details [hide private]

__init__(self, cfg='/tmp/cuckoo/conf/cuckoo.conf')
(Constructor)

source code 
Parameters:
  • cfg - configuration file path.

get(self, section)

source code 

Get option.

Parameters:
  • section - section to fetch.
Returns:
option value.
Raises: