SOURCES: kernel-config-update.py - bugfix for empty config

glen glen at pld-linux.org
Sat Mar 1 13:26:45 CET 2008


Author: glen                         Date: Sat Mar  1 12:26:45 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- bugfix for empty config

---- Files affected:
SOURCES:
   kernel-config-update.py (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SOURCES/kernel-config-update.py
diff -u SOURCES/kernel-config-update.py:1.18 SOURCES/kernel-config-update.py:1.19
--- SOURCES/kernel-config-update.py:1.18	Wed Feb  6 00:26:54 2008
+++ SOURCES/kernel-config-update.py	Sat Mar  1 13:26:40 2008
@@ -118,7 +118,10 @@
 #    sys.stderr.write("Add symbol: %s=%s\n" % (symbol, dict[symbol]))
 
 f.close()
-del allarch['all']
+
+# not really an arch :)
+if allarch.has_key('all'):
+	del allarch['all']
 
 if not rc == 0:
     sys.exit(1)
================================================================

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



More information about the pld-cvs-commit mailing list