From 4ee18324cf332ab2c1788902111fe82a900653b8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 17 Nov 2009 09:21:38 +0100 Subject: [PATCH] colletcyd: Some code cleanup and commenting. No functional changes. --- collectyd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/collectyd b/collectyd index 3fa6938..95b0c42 100755 --- a/collectyd +++ b/collectyd @@ -5,21 +5,21 @@ import sys import optparse -from collecty import Collecty +import collecty -c = Collecty() +c = collecty.Collecty() # Parse command line options op = optparse.OptionParser(usage="usage: %prog [options] ... ") op.add_option("-d", "--daemon", action="store_true", default=False, help="Run as a daemon in background.") - (options, configfiles) = op.parse_args() if configfiles: for file in configfiles: c.read_config(file) else: + # Load default config file c.read_config("/etc/collecty/collecty.conf") if not c.instances: -- 2.47.3