[kernel] r10936 - dists/trunk/linux-2.6/debian/templates

Bastian Blank waldi at alioth.debian.org
Sat Mar 22 12:48:54 UTC 2008


Author: waldi
Date: Sat Mar 22 12:48:54 2008
New Revision: 10936

Log:
debian/templates/patch.apply.in: Correctly define false value.


Modified:
   dists/trunk/linux-2.6/debian/templates/patch.apply.in

Modified: dists/trunk/linux-2.6/debian/templates/patch.apply.in
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/patch.apply.in	(original)
+++ dists/trunk/linux-2.6/debian/templates/patch.apply.in	Sat Mar 22 12:48:54 2008
@@ -49,6 +49,9 @@
 
         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:



More information about the Kernel-svn-changes mailing list