[kernel] r6126 - dists/trunk/linux-2.6/debian/bin
Bastian Blank
waldi at costa.debian.org
Sat Mar 11 14:39:29 UTC 2006
Author: waldi
Date: Sat Mar 11 14:39:28 2006
New Revision: 6126
Modified:
dists/trunk/linux-2.6/debian/bin/apply.py
Log:
debian/bin/apply.py: Support wildcard in architecture.
Modified: dists/trunk/linux-2.6/debian/bin/apply.py
==============================================================================
--- dists/trunk/linux-2.6/debian/bin/apply.py (original)
+++ dists/trunk/linux-2.6/debian/bin/apply.py Sat Mar 11 14:39:28 2006
@@ -183,7 +183,13 @@
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
More information about the Kernel-svn-changes
mailing list