[jhbuild] Revert "defaults.jhbuildrc: fix regression"



commit 9f5fb93dfaab3a297b2f6363af5dca1df9b3a1d7
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Wed Jul 1 17:50:55 2020 +0200

    Revert "defaults.jhbuildrc: fix regression"
    
    This reverts commit 67d4c1c7a3bf4185a6899f772e17cd09db4b4518.
    
    Turns out the reporter was using Python 2 which no longer support.

 jhbuild/defaults.jhbuildrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/jhbuild/defaults.jhbuildrc b/jhbuild/defaults.jhbuildrc
index 64c644f5..3f2c7f26 100644
--- a/jhbuild/defaults.jhbuildrc
+++ b/jhbuild/defaults.jhbuildrc
@@ -147,7 +147,7 @@ export_dir = None
 
 # attempt to detect the system library path
 extra_prefixes = []
-if hasattr(sys, 'implementation') and hasattr(sys.implementation, '_multiarch') and \
+if hasattr(sys.implementation, '_multiarch') and \
    os.path.exists('/usr/lib/' + sys.implementation._multiarch):
     # Debian-style multiarch
     system_libdirs = ['/usr/lib/' + sys.implementation._multiarch, '/usr/lib']


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]