r3520 - trunk/kernel/source/linux-2.6-2.6.12/debian/bin
Andres Salomon
dilinger at costa.debian.org
Sat Jul 16 02:18:25 UTC 2005
Author: dilinger
Date: 2005-07-16 02:18:25 +0000 (Sat, 16 Jul 2005)
New Revision: 3520
Modified:
trunk/kernel/source/linux-2.6-2.6.12/debian/bin/split.py
Log:
rename stuff to write out 'config' instead of 'config.common'. This is my
first ever attempt to python hackery. fear.
Modified: trunk/kernel/source/linux-2.6-2.6.12/debian/bin/split.py
===================================================================
--- trunk/kernel/source/linux-2.6-2.6.12/debian/bin/split.py 2005-07-16 02:00:54 UTC (rev 3519)
+++ trunk/kernel/source/linux-2.6-2.6.12/debian/bin/split.py 2005-07-16 02:18:25 UTC (rev 3520)
@@ -1,11 +1,11 @@
#!/usr/bin/python
#
-# Scans underlying directory structure for files with names config.ext
-# where .ext is not .stub, .common or .default, and extracts a common
+# Scans underlying directory structure for files with names config.*
+# where .* is not .stub or .default, and extracts a common
# set of config options from them. The resulting set of options is
-# written into the config.common file. On the second pass each config.ext
+# written into the 'config' file. On the second pass each config.*
# file is parsed to remove the common config options found in
-# config.common, with the results written to config.ext.stub.
+# config, with the results written to config.*.stub.
#
import os, string, sys
@@ -44,7 +44,7 @@
if names.count('.svn'): names.remove('.svn')
for name in names:
base, ext = os.path.splitext(name)
- if(base == 'config' and ext not in ('.default', '.stub', '.common')):
+ if(base == 'config' and ext not in ('.default', '.stub', '')):
fname = os.path.join(dir,name)
conffiles.append(fname)
print 'Processing ' + fname + ' ... ',
@@ -55,8 +55,8 @@
# Main routine
#
os.path.walk('.', walk_callback, None)
-print 'Writing the config.common output file ... ',
-write_out(common, 'config.common')
+print 'Writing the config output file ... ',
+write_out(common, 'config')
print 'done.'
for fname in conffiles:
print 'Writing the ' + fname + '.stub output file ... ',
More information about the Kernel-svn-changes
mailing list