From 88f80f09ebab4be681a438e939721d0964fd3a92 Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Sat, 22 Mar 2008 12:48:54 +0000 Subject: [PATCH] debian/templates/patch.apply.in: Correctly define false value. svn path=/dists/trunk/linux-2.6/; revision=10936 --- debian/templates/patch.apply.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/templates/patch.apply.in b/debian/templates/patch.apply.in index 51548facb..21e80cac2 100644 --- a/debian/templates/patch.apply.in +++ b/debian/templates/patch.apply.in @@ -49,6 +49,9 @@ class MatchExtra(object): return ret_arch and ret_featureset + def __nonzero__(self): + return self.arch is not None or self.featureset is not None + def info(self): ret = [] if self.matched_arch: