From 1babebd4aa8de8aa3d4a931d5b248b82c55d83e6 Mon Sep 17 00:00:00 2001 From: Kuang-che Wu Date: Mon, 18 May 2020 19:56:56 +0800 Subject: fix acprep python3 compatibility --- acprep | 3 +-- 1 file changed, 1 insertion(+), 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])) -- cgit v1.2.3