def get_defaults():
 default_cdir = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 'collectors')
 defaults = {'verbose': False, 'no_tcollector_stats': False, 'evictinterval': 6000, 'dedupinterval': 300, 'deduponlyzero': False, 'allowed_inactivity_time': 600, 'dryrun': False, 'maxtags': 8, 'max_bytes': ((64 * 1024) * 1024), 'http_password': False, 'reconnectinterval': 0, 'http_username': False, 'port': 4242, 'pidfile': '/var/run/tcollector.pid', 'http': False, 'tags': [], 'remove_inactive_collectors': False, 'host': 'localhost', 'backup_count': 1, 'logfile': '/var/log/tcollector.log', 'cdir': default_cdir, 'ssl': False, 'stdin': False, 'daemonize': False, 'hosts': False}
 return defaults

def get_defaults ( ) : default_cdir = os . path . join ( os . path . dirname ( os . path . realpath ( sys . argv [ 0 ] ) ) , 'collectors' ) defaults = { 'verbose' : False , 'no_tcollector_stats' : False , 'evictinterval' : 6000 , 'dedupinterval' : 300 , 'deduponlyzero' : False , 'allowed_inactivity_time' : 600 , 'dryrun' : False , 'maxtags' : 8 , 'max_bytes' : ( ( 64 * 1024 ) * 1024 ) , 'http_password' : False , 'reconnectinterval' : 0 , 'http_username' : False , 'port' : 4242 , 'pidfile' : '/var/run/tcollector.pid' , 'http' : False , 'tags' : [ ] , 'remove_inactive_collectors' : False , 'host' : 'localhost' , 'backup_count' : 1 , 'logfile' : '/var/log/tcollector.log' , 'cdir' : default_cdir , 'ssl' : False , 'stdin' : False , 'daemonize' : False , 'hosts' : False } return defaults
get dictionary of default values from the defaults .