[kernel] r10731 - dists/trunk/firmware-nonfree/debian/bin
Bastian Blank
waldi at alioth.debian.org
Thu Mar 6 11:01:30 UTC 2008
Author: waldi
Date: Thu Mar 6 11:01:29 2008
New Revision: 10731
Log:
debian/bin/gencontrol.py: Handle files with underscore correctly.
Modified:
dists/trunk/firmware-nonfree/debian/bin/gencontrol.py
Modified: dists/trunk/firmware-nonfree/debian/bin/gencontrol.py
==============================================================================
--- dists/trunk/firmware-nonfree/debian/bin/gencontrol.py (original)
+++ dists/trunk/firmware-nonfree/debian/bin/gencontrol.py Thu Mar 6 11:01:29 2008
@@ -235,7 +235,10 @@
config.read("%s/%s" % (package, self.config_name))
for section in iter(config):
- real = (section[-1], package) + section[:-1]
+ if len(section) > 1:
+ real = (section[-1], package, '_'.join(section[:-1]))
+ else:
+ real = (section[-1], package)
s = self.get(real, {})
s.update(config[section])
self[real] = s
More information about the Kernel-svn-changes
mailing list