tags 587698 + pending
thanks

Dear maintainer,

Miguel de Val-Borro has prepared an NMU for ipcheck (versioned as
0.233-1.1) and I've uploaded it to DELAYED/2. Please feel free to
tell me if I should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   
diff -u ipcheck-0.233/debian/changelog ipcheck-0.233/debian/changelog
--- ipcheck-0.233/debian/changelog
+++ ipcheck-0.233/debian/changelog
@@ -1,3 +1,11 @@
+ipcheck (0.233-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "on python2.6: AttributeError: 'NoneType' object has no
+    attribute 'close'" (Closes: #587698, LP: #756657)
+
+ -- Miguel de Val Borro <miguel.de...@gmail.com>  Sun, 04 Dec 2011 15:57:08 +0100
+
 ipcheck (0.233-1) unstable; urgency=low
 
   * New upstream release
only in patch2:
unchanged:
--- ipcheck-0.233.orig/ipcheck.py
+++ ipcheck-0.233/ipcheck.py
@@ -5187,15 +5187,15 @@
   logger.logit(logline)
 
   # try to get the html text
+  fp = None
   try:
     fp = h2.getfile()
     httpdata = fp.read()
-    fp.close()
   except:
     httpdata = "No output from http request."
 
-  # explicitly close
-  fp.close()
+  if fp:
+    fp.close()
 
   logline = "fd closed" 
   logger.logit(logline)

Attachment: signature.asc
Description: Digital signature

Reply via email to