Back to index

munin  2.0.1
Classes | Functions
munin Namespace Reference

Classes

class  DataSource
class  Plugin

Functions

def getOptionOrDefault

Function Documentation

def munin.getOptionOrDefault (   option,
  default = None 
)

Definition at line 13 of file munin.py.

00013 
00014 def getOptionOrDefault(option, default=None):
00015     from os import environ
00016     return environ.setdefault(option, default)