Skip to content

Commit

Permalink
Added requested comment.
Browse files Browse the repository at this point in the history
Signed-off-by: Sandon Van Ness <[email protected]>
  • Loading branch information
SandonV committed Jun 5, 2014
1 parent 242d9de commit 825db50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions teuthology/task/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ def download_kernel(ctx, config):
kernel_url = urlparse.urljoin(rpm_url, 'kernel.x86_64.rpm')
output, err_mess = StringIO(), StringIO()
role_remote.run(args=['sudo', 'yum', 'list', 'installed', 'kernel'], stdout=output, stderr=err_mess )
# Check if short (first 8 digits) sha1 is in uname output as expected
if src[0:7] in output.getvalue():
output.close()
err_mess.close()
Expand Down

0 comments on commit 825db50

Please sign in to comment.