SOURCES: kernel-config.py - bug: do not take "all" if arch key is ...
glen
glen at pld-linux.org
Tue Feb 5 00:16:53 CET 2008
Author: glen Date: Mon Feb 4 23:16:53 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- bug: do not take "all" if arch key is present
---- Files affected:
SOURCES:
kernel-config.py (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SOURCES/kernel-config.py
diff -u SOURCES/kernel-config.py:1.11 SOURCES/kernel-config.py:1.12
--- SOURCES/kernel-config.py:1.11 Tue Jan 29 15:03:59 2008
+++ SOURCES/kernel-config.py Tue Feb 5 00:16:48 2008
@@ -2,6 +2,7 @@
# Generate kernel .config file based on special kernel.conf rules file.
# arekm at pld-linux.org
+# glen at pld-linux.org
import sys
import re
@@ -121,8 +122,9 @@
# take arch line, otherwise fallback to 'all'
if hash.has_key(arch):
dict[symbol] = hash[arch]
- if hash.has_key('all'):
- dict[symbol] = hash['all']
+ else:
+ if hash.has_key('all'):
+ dict[symbol] = hash['all']
f.close()
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-config.py?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list