[jhbuild] [config] fix typo in python package path detection



commit 5b451e3d3ce43c961622daba403679927cdc0b89
Author: Frédéric Péters <fpeters 0d be>
Date:   Mon Aug 24 16:33:27 2009 +0200

    [config] fix typo in python package path detection

 jhbuild/config.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/config.py b/jhbuild/config.py
index bfa0826..9d62df2 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -387,7 +387,7 @@ class Config:
         try:
             python_packages_dir = get_output([python_bin, '-c',
                 'import os, distutils.sysconfig; '\
-                'print distutils.sysconfig.get_python_lib(prefix="%s").split(os.path.sep)[-1]'] % self.prefix,
+                'print distutils.sysconfig.get_python_lib(prefix="%s").split(os.path.sep)[-1]' % self.prefix],
                 get_stderr=False).strip()
         except CommandError:
             python_packages_dir = 'site-packages'



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