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 _______________________________________________ Kernel-svn-changes mailing list Kernel-svn-changes@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes