aboutsummaryrefslogtreecommitdiff
path: root/afe_lock_machine.py
diff options
context:
space:
mode:
Diffstat (limited to 'afe_lock_machine.py')
-rwxr-xr-xafe_lock_machine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/afe_lock_machine.py b/afe_lock_machine.py
index 54219cd4..29693cc7 100755
--- a/afe_lock_machine.py
+++ b/afe_lock_machine.py
@@ -352,10 +352,10 @@ class AFELockManager(object):
if not should_lock_machine:
action = 'unlock'
kwargs = {'locked': should_lock_machine}
+ kwargs['lock_reason'] = 'toolchain user request (%s)' % self.user
if machine in self.toolchain_lab_machines:
m = machine.split('.')[0]
- kwargs['lock_reason'] = 'toolchain user request (%s)' % self.user
afe_server = self.afe
else:
m = machine