debian/bin/gencontrol.py: Don't use __dict__.
svn path=/dists/trunk/linux-2.6/; revision=9053
This commit is contained in:
parent
78baa6e067
commit
a0fdd38055
|
@ -264,8 +264,9 @@ class Gencontrol(Base):
|
|||
value = PackageRelation()
|
||||
value.extend(entry.get(i, []))
|
||||
if i == 'Depends':
|
||||
value.append("linux-patch-debian-%(linux_version)s (= %(complete)s)" % self.changelog[0].version.__dict__)
|
||||
value.append(' | '.join(["linux-source-%(linux_version)s (= %(complete)s)" % v.__dict__ for v in versions]))
|
||||
v = self.changelog[0].version
|
||||
value.append("linux-patch-debian-%s (= %s)" % (v.linux_version, v.complete))
|
||||
value.append(' | '.join(["linux-source-%s (= %s)" % (v.linux_version, v.complete) for v in versions]))
|
||||
elif i == 'Provides':
|
||||
value.extend(["linux-tree-%s" % v.complete.replace('~', '-') for v in versions])
|
||||
entry[i] = value
|
||||
|
|
Loading…
Reference in New Issue