Author: waldi Date: Sun May 10 15:16:33 2009 New Revision: 632 Log: debian/bin/gencontrol.py: Make it possible to specify an empty abiname. Modified: trunk/xen-3/debian/bin/gencontrol.py Modified: trunk/xen-3/debian/bin/gencontrol.py =============================================================================--- trunk/xen-3/debian/bin/gencontrol.py Sun May 10 15:13:10 2009 (r631) +++ trunk/xen-3/debian/bin/gencontrol.py Sun May 10 15:16:33 2009 (r632) @@ -98,7 +98,7 @@ def process_changelog(self): changelog = Changelog(version = VersionXen) self.version = changelog[0].version - self.abiname = ''-%s'' % self.config[''abi'',][''abiname''] + self.abiname = ''abiname'' in self.config[''abi'',] and ''-%s'' % self.config[''abi'',][''abiname''] or '''' self.vars = { ''major'': self.version.xen_major, ''version'': self.version.xen_version,