summaryrefslogtreecommitdiff
path: root/bin
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2016-11-01 16:47:44 -0400
committerJeff Lane <jeffrey.lane@canonical.com>2016-11-01 16:47:44 -0400
commit9cda938e95bb0570500edd97d0cb7346bf81d917 (patch)
tree53ab398aea475b12045fd0c450ef45043bc80cf7 /bin
parent595a51420c7baf05c33d9cc16d4e6a5abb159ffe (diff)
removed a test line I forgot in initial commit. pep8 correction.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/boot_mode_test4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/boot_mode_test b/bin/boot_mode_test
index 877e647..7578779 100755
--- a/bin/boot_mode_test
+++ b/bin/boot_mode_test
@@ -38,8 +38,7 @@ def version_check(check):
return code from requested check if the installed version is 16.04 or
newer.
"""
- installed_version = '14.04.5'
- #installed_version = linux_distribution()[1]
+ installed_version = linux_distribution()[1]
if installed_version < '16.04':
logging.info("This system appears to be older than 16.04 LTS so this "
"will not block a certification in progress.")
@@ -55,6 +54,7 @@ def version_check(check):
else:
return secure_boot_check()
+
def efi_boot_check():
"""Test that the computer booted in EFI mode