Convert all python code to use four-space indents instead of eight-space tabs.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1658 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/config.py b/client/bin/config.py
index 59b8279..477bece 100644
--- a/client/bin/config.py
+++ b/client/bin/config.py
@@ -8,7 +8,7 @@
Please no StudlyCaps.
For example:
- boot.default_args
+ boot.default_args
"""
__author__ = """Copyright Andy Whitcroft 2006"""
@@ -16,33 +16,33 @@
import os
class config:
- """The BASIC job configuration
+ """The BASIC job configuration
- Properties:
- job
- The job object for this job
- config
- The job configuration dictionary
- """
+ 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 __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
+ def set(self, name, value):
+ if name == "proxy":
+ os.environ['http_proxy'] = value
+ os.environ['ftp_proxy'] = value
- self.config[name] = value
+ self.config[name] = value
- def get(self, name):
- if name in self.config:
- return self.config[name]
- else:
- return None
+ def get(self, name):
+ if name in self.config:
+ return self.config[name]
+ else:
+ return None