From 3fedd6e488d8055634d09307ec3c25c57c96f71a Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Wed, 3 Oct 2018 01:25:54 +0100 Subject: [PATCH] debian/bin/gencontrol.py: Delete code that enumerates Debian revisions Gencontrol.parse_changelog() makes a list of all Debian versions with the same upstream version, but doesn't use it. This is left over from the old multiple-series patch system which was removed in 2012. --- debian/bin/gencontrol.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py index 10177ea08..ae26722ce 100755 --- a/debian/bin/gencontrol.py +++ b/debian/bin/gencontrol.py @@ -613,13 +613,6 @@ class Gencontrol(Base): os.chmod(debug_lintian_over, 0o755) def process_changelog(self): - act_upstream = self.changelog[0].version.upstream - versions = [] - for i in self.changelog: - if i.version.upstream != act_upstream: - break - versions.append(i.version) - self.versions = versions version = self.version = self.changelog[0].version if self.version.linux_modifier is not None: self.abiname_part = ''