From b901a50ab5c402897b67cdecf291e03192bb330d Mon Sep 17 00:00:00 2001 From: Robert Gogolok Date: Mon, 31 Dec 2007 12:36:02 +0000 Subject: cleanup code git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4145 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Component.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/lib/Component.py') diff --git a/src/lib/Component.py b/src/lib/Component.py index 2d6887a67..ec5e9d41d 100644 --- a/src/lib/Component.py +++ b/src/lib/Component.py @@ -147,11 +147,12 @@ class Component(TLSServer, self.logger = logging.getLogger('Component') self.children = [] self.static = True - options = {'location': Bcfg2.Options.SERVER_LOCATION, - 'static': Bcfg2.Options.SERVER_STATIC, - 'key': Bcfg2.Options.SERVER_KEY, - 'passwd': Bcfg2.Options.SERVER_PASSWORD, - } + options = { + 'key' : Bcfg2.Options.SERVER_KEY, + 'location' : Bcfg2.Options.SERVER_LOCATION, + 'passwd' : Bcfg2.Options.SERVER_PASSWORD, + 'static' : Bcfg2.Options.SERVER_STATIC, + } opts = Bcfg2.Options.OptionParser(options) opts.parse([]) location = opts['location'] -- cgit v1.2.3-1-g7c22