summaryrefslogtreecommitdiffstats
path: root/src/lib/Component.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Component.py')
-rw-r--r--src/lib/Component.py11
1 files changed, 6 insertions, 5 deletions
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']