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()

_______________________________________________
Kernel-svn-changes mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

Reply via email to