From d6d46e41f570dacb09a9f4ae8a208fb3afb34d37 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Wed, 6 Dec 2023 12:08:36 +0100 Subject: acprep: Minor clean-up --- acprep | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/acprep b/acprep index 6ec372f8..f33a0d29 100755 --- a/acprep +++ b/acprep @@ -100,7 +100,6 @@ class CommandLineApp(object): force_exit = True # If true, always ends run() with sys.exit() log_handler = None - boost_major = "1_52" def __init__(self): "Initialize CommandLineApp." @@ -519,8 +518,7 @@ class PrepareBuild(CommandLineApp): elif system == 'Linux': if exists('/etc/issue'): - issue = open('/etc/issue') - issue_name = issue.readline() + issue_name = open('/etc/issue').readline() if issue_name.startswith('Ubuntu'): info = dict([line.strip().split('=', 1) for line in open('/etc/lsb-release')]) -- cgit v1.2.3