[kernel] r9520 - dists/trunk/linux-2.6/debian/lib/python/debian_linux
Bastian Blank
waldi at alioth.debian.org
Sat Sep 15 18:27:51 UTC 2007
Author: waldi
Date: Sat Sep 15 18:27:51 2007
New Revision: 9520
Log:
debian/lib/python/debian_linux/patches.py: Fix.
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 18:27:51 2007
@@ -81,8 +81,8 @@
f = os.popen(cmdline, 'rb')
data = f.read()
ret = f.close()
- if ret == 0:
- raise RuntimeError("unifdef removed nothing")
+ if ret is None:
+ raise RuntimeError("unifdef of %s removed nothing" % self.name)
f1 = file(filename, 'wb')
f1.write(data)
f1.close()
More information about the Kernel-svn-changes
mailing list