summaryrefslogtreecommitdiff
path: root/tko/machine_load
diff options
context:
space:
mode:
Diffstat (limited to 'tko/machine_load')
-rwxr-xr-xtko/machine_load10
1 files changed, 5 insertions, 5 deletions
diff --git a/tko/machine_load b/tko/machine_load
index 98b0fa9d..b8c04721 100755
--- a/tko/machine_load
+++ b/tko/machine_load
@@ -4,8 +4,8 @@ import db
db = db.db()
for line in open('machines', 'r').readlines():
- (machine, group) = line.rstrip().split()
- print 'X %s Y %s' % (machine, group)
- set = { 'machine_group' : group }
- where = { 'hostname' : machine }
- db.update('machines', set, where)
+ (machine, group) = line.rstrip().split()
+ print 'X %s Y %s' % (machine, group)
+ set = { 'machine_group' : group }
+ where = { 'hostname' : machine }
+ db.update('machines', set, where)