summaryrefslogtreecommitdiff
path: root/client/bin/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/bin/config.py')
-rw-r--r--client/bin/config.py62
1 files changed, 31 insertions, 31 deletions
diff --git a/client/bin/config.py b/client/bin/config.py
index 59b8279f..477becef 100644
--- a/client/bin/config.py
+++ b/client/bin/config.py
@@ -8,7 +8,7 @@ are required at a level they should be separated by underscores (_).
Please no StudlyCaps.
For example:
- boot.default_args
+ boot.default_args
"""
__author__ = """Copyright Andy Whitcroft 2006"""
@@ -16,33 +16,33 @@ __author__ = """Copyright Andy Whitcroft 2006"""
import os
class config:
- """The BASIC job configuration
-
- Properties:
- job
- The job object for this job
- config
- The job configuration dictionary
- """
-
- def __init__(self, job):
- """
- job
- The job object for this job
- """
- self.job = job
- self.config = {}
-
-
- def set(self, name, value):
- if name == "proxy":
- os.environ['http_proxy'] = value
- os.environ['ftp_proxy'] = value
-
- self.config[name] = value
-
- def get(self, name):
- if name in self.config:
- return self.config[name]
- else:
- return None
+ """The BASIC job configuration
+
+ Properties:
+ job
+ The job object for this job
+ config
+ The job configuration dictionary
+ """
+
+ def __init__(self, job):
+ """
+ job
+ The job object for this job
+ """
+ self.job = job
+ self.config = {}
+
+
+ def set(self, name, value):
+ if name == "proxy":
+ os.environ['http_proxy'] = value
+ os.environ['ftp_proxy'] = value
+
+ self.config[name] = value
+
+ def get(self, name):
+ if name in self.config:
+ return self.config[name]
+ else:
+ return None