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: