diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-12-06 12:08:36 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2023-12-06 12:08:36 +0100 |
commit | d6d46e41f570dacb09a9f4ae8a208fb3afb34d37 (patch) | |
tree | 3b7400a709006f26a26c8d63ae784437271cedb0 /acprep | |
parent | 11b8e048d3ae5fe922bc9007425fd6b709bde5b5 (diff) | |
download | fork-ledger-d6d46e41f570dacb09a9f4ae8a208fb3afb34d37.tar.gz fork-ledger-d6d46e41f570dacb09a9f4ae8a208fb3afb34d37.tar.bz2 fork-ledger-d6d46e41f570dacb09a9f4ae8a208fb3afb34d37.zip |
acprep: Minor clean-up
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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')]) |