diff options
author | Gonzalo Rizzo <me@gonzalorizzo.com> | 2019-01-25 09:54:16 -0300 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2019-01-25 11:58:41 -0300 |
commit | 3d860ffc5b9be8887abd12c6d3ebc34fc5dcac05 (patch) | |
tree | b7b17f92dbaed9dd86cf61e1c51263bffd66bff4 | |
parent | 53f4035a2f4a6f33b447ce3658c4dc062058c422 (diff) | |
download | fork-ledger-3d860ffc5b9be8887abd12c6d3ebc34fc5dcac05.tar.gz fork-ledger-3d860ffc5b9be8887abd12c6d3ebc34fc5dcac05.tar.bz2 fork-ledger-3d860ffc5b9be8887abd12c6d3ebc34fc5dcac05.zip |
Quick nitpick styling change/enhancement
-rwxr-xr-x | acprep | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -53,16 +53,16 @@ def which(program): class BoostInfo(object): def dependencies(self, system): - if system == 'darwin-homebrew': + if system in ['darwin-homebrew']: return [ 'boost' ] - if system == 'darwin-macports': + if system in ['darwin-macports']: return [ 'boost-jam', 'boost', '+python27+universal' ] - if system == 'centos': + if system in ['centos']: return [ 'boost-devel' ] - elif system == 'ubuntu-bionic' or system == 'ubuntu-xenial' or system == 'ubuntu-trusty': + elif system in ['ubuntu-bionic', 'ubuntu-xenial', 'ubuntu-trusty']: return [ 'libboost-dev', 'libboost-date-time-dev', 'libboost-filesystem-dev', @@ -72,7 +72,7 @@ class BoostInfo(object): 'libboost-system-dev', 'libboost-test-dev' ] - elif system == 'ubuntu-saucy' or system == 'ubuntu-precise': + elif system in [ 'ubuntu-saucy', 'ubuntu-precise']: return [ 'autopoint', 'libboost-dev', 'libboost-test-dev', @@ -82,7 +82,7 @@ class BoostInfo(object): 'libboost-iostreams-dev', 'libboost-python-dev' ] - elif system == 'ubuntu-lucid': + elif system in ['ubuntu-lucid']: return [ 'bjam', 'autopoint', 'libboost-dev', 'libboost-regex-dev', |