Skip to content

Commit

Permalink
[FIX] runbot_travis2docker: Use loop-variable instead of object one '…
Browse files Browse the repository at this point in the history
…self'
  • Loading branch information
moylop260 authored and hbrunn committed Apr 10, 2018
1 parent 7040257 commit 4188be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runbot_travis2docker/models/runbot_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _schedule(self):
subprocess.call([
'docker', 'exec', '-d', '--user', 'root',
build.docker_container, '/etc/init.d/ssh', 'start'])
ssh_keys = self._get_ssh_keys() or ''
ssh_keys = build._get_ssh_keys() or ''
f_extra_keys = os.path.expanduser('~/.ssh/runbot_authorized_keys')
if os.path.isfile(f_extra_keys):
with open(f_extra_keys) as fobj_extra_keys:
Expand Down

0 comments on commit 4188be0

Please sign in to comment.