Replaced tabs with spaces.
Signed-off-by: Nikhil Rao <ncrao@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2831 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/frontend.py b/server/frontend.py
index 5637c91..68d0fa7 100644
--- a/server/frontend.py
+++ b/server/frontend.py
@@ -199,10 +199,10 @@
dargs['dependencies'] = dargs.get('dependencies', []) + \
control_file.dependencies
dargs['control_file'] = control_file.control_file
- if 'synch_count' not in dargs:
+ if 'synch_count' not in dargs:
dargs['synch_count'] = control_file.synch_count
- else:
- control_file.synch_count = dargs['synch_count']
+ else:
+ control_file.synch_count = dargs['synch_count']
jobs = []
if control_file.synch_count > 1:
# We don't trust the scheduler to do the groupings for us.
@@ -382,8 +382,8 @@
hosts = [h for h in hosts if self._included_platform(h, platforms)]
host_list = [h.hostname for h in hosts if h.status != 'Repair Failed']
print 'HOSTS: %s' % host_list
- if pairing.synch_job:
- dargs['synch_count'] = len(host_list)
+ if pairing.synch_job:
+ dargs['synch_count'] = len(host_list)
new_jobs = self.create_job_by_test(name=job_name,
dependencies=[pairing.machine_label],
tests=[pairing.control_file],
@@ -735,7 +735,7 @@
self.control_file = control_file
self.platforms = platforms
self.container = container
- self.synch_job = synch_job
+ self.synch_job = synch_job
def __repr__(self):