Skip to content

Commit ec6c2ce

Browse files
Merge pull request #240 from sideangleside/fix-timeout-regression
fix regression in REX with options.timeout
2 parents fdbe5fc + 8b73e6d commit ec6c2ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def install_foreman_ssh_key():
517517
os.mkdir(foreman_ssh_dir, 0700)
518518
os.chown(foreman_ssh_dir, userpw.pw_uid, userpw.pw_gid)
519519
try:
520-
foreman_ssh_key = urllib2.urlopen(("https://%s:9090/ssh/pubkey" % options.foreman_fqdn).read(), timeout=options.timeout)
520+
foreman_ssh_key = urllib2.urlopen(("https://%s:9090/ssh/pubkey" % options.foreman_fqdn), timeout=options.timeout).read()
521521
except urllib2.HTTPError, e:
522522
print_generic("The server was unable to fulfill the request. Error: %s - %s" % (e.code, e.reason))
523523
print_generic("Please ensure the Remote Execution feature is configured properly")

0 commit comments

Comments
 (0)