[jhbuild] avoid message about unknown key e



commit 4c68c0c59a513f8ef46cb464b9ab544f3bd57468
Author: Marcin Wojdyr <wojdyr gmail com>
Date:   Fri Mar 2 19:29:53 2012 +0000

    avoid message about unknown key e
    
    if multiprocessing module is not found, as a side effect we get:
    I: unknown keys defined in configuration file: e
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671226

 jhbuild/defaults.jhbuildrc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/defaults.jhbuildrc b/jhbuild/defaults.jhbuildrc
index 3fa8e67..fca2589 100644
--- a/jhbuild/defaults.jhbuildrc
+++ b/jhbuild/defaults.jhbuildrc
@@ -53,7 +53,7 @@ builddir_pattern = '%s'
 try:
     import multiprocessing
     jobs = multiprocessing.cpu_count() * 2
-except ImportError, e:
+except ImportError, _e:
     try:
         jobs = 2 * os.sysconf('SC_NPROCESSORS_ONLN')
     except (OSError, AttributeError, ValueError):



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