SOURCES: kernel-config-update.py - however do not add arch entry i...

glen glen at pld-linux.org
Tue Feb 5 01:34:43 CET 2008


Author: glen                         Date: Tue Feb  5 00:34:43 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- however do not add arch entry if "all" keys is present

---- Files affected:
SOURCES:
   kernel-config-update.py (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SOURCES/kernel-config-update.py
diff -u SOURCES/kernel-config-update.py:1.12 SOURCES/kernel-config-update.py:1.13
--- SOURCES/kernel-config-update.py:1.12	Tue Feb  5 01:31:07 2008
+++ SOURCES/kernel-config-update.py	Tue Feb  5 01:34:38 2008
@@ -161,7 +161,7 @@
             del c['all']
             # new value from this arch
             c[arch] = value
-        else:
+        elif not c.has_key('all'):
             # symbol present in config.conf, but without our arch, add our value
             c[arch] = value
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-config-update.py?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list