[kernel] r9528 - dists/trunk/linux-2.6/debian/lib/python/debian_linux

Bastian Blank waldi at alioth.debian.org
Sat Sep 15 20:44:05 UTC 2007


Author: waldi
Date: Sat Sep 15 20:44:05 2007
New Revision: 9528

Log:
debian/lib/python/debian_linux/patches.py: Fix error check.


Modified:
   dists/trunk/linux-2.6/debian/lib/python/debian_linux/patches.py

Modified: dists/trunk/linux-2.6/debian/lib/python/debian_linux/patches.py
==============================================================================
--- dists/trunk/linux-2.6/debian/lib/python/debian_linux/patches.py	(original)
+++ dists/trunk/linux-2.6/debian/lib/python/debian_linux/patches.py	Sat Sep 15 20:44:05 2007
@@ -83,6 +83,8 @@
         ret = f.close()
         if ret is None:
             raise RuntimeError("unifdef of %s removed nothing" % self.name)
+        elif ret != 256:
+            raise RuntimeError("unifdef failed")
         f1 = file(filename, 'wb')
         f1.write(data)
         f1.close()



More information about the Kernel-svn-changes mailing list