summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuang-che Wu <kcwu@google.com>2020-05-18 19:56:56 +0800
committerMartin Michlmayr <tbm@cyrius.com>2020-05-18 22:05:48 +0800
commit1babebd4aa8de8aa3d4a931d5b248b82c55d83e6 (patch)
treea9a22e89d45a9e33a4536f9669fda229fcad08cc
parent56c42e11fe58828af39d43a972033741a5f5e27e (diff)
downloadfork-ledger-1babebd4aa8de8aa3d4a931d5b248b82c55d83e6.tar.gz
fork-ledger-1babebd4aa8de8aa3d4a931d5b248b82c55d83e6.tar.bz2
fork-ledger-1babebd4aa8de8aa3d4a931d5b248b82c55d83e6.zip
fix acprep python3 compatibility
-rwxr-xr-xacprep3
1 files changed, 1 insertions, 2 deletions
diff --git a/acprep b/acprep
index af706140..45a53802 100755
--- a/acprep
+++ b/acprep
@@ -470,8 +470,7 @@ class PrepareBuild(CommandLineApp):
self.log.debug('CMake environment =>')
keys = environ.keys()
- keys.sort()
- for key in keys:
+ for key in sorted(keys):
if key in ['PATH', 'CXX'] or key.endswith('FLAGS'):
self.log.debug(' %s=%s' % (key, environ[key]))