debian/bin/apply.py: Support wildcard in architecture.

svn path=/dists/trunk/linux-2.6/; revision=6126
This commit is contained in:
Bastian Blank 2006-03-11 14:39:28 +00:00
parent 2c7f300e8c
commit 583250c52d
1 changed files with 7 additions and 1 deletions

8
debian/bin/apply.py vendored
View File

@ -183,7 +183,13 @@ class series_extra(series):
def _check_extra(self, extra):
for i in (1, 2, 3):
t = tuple(self.extra[:i])
t = self.extra[:i]
if extra.has_key(t):
if i > len(self.extra_used):
self.extra_used = t
return True
for i in (2, 3):
t = ('*',) + self.extra[1:i]
if extra.has_key(t):
if i > len(self.extra_used):
self.extra_used = t