[Reportbug-commits] [reportbug] 23/32: dont refer to the parser, as we dont instantiate it

Sandro Tosi morph at moszumanska.debian.org
Thu Dec 1 01:36:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository reportbug.

commit a78ef19dfb2a8c278ccdc4f580e5cc6216ce1551
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Nov 30 19:55:48 2016 -0500

    dont refer to the parser, as we dont instantiate it
---
 reportbug/checkversions.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/reportbug/checkversions.py b/reportbug/checkversions.py
index 963a9b8..3046108 100644
--- a/reportbug/checkversions.py
+++ b/reportbug/checkversions.py
@@ -161,13 +161,13 @@ def get_incoming_version(package, timeout, http_proxy=None, arch='i386'):
     #     pass
     # page.close()
 
-    if parser.found:
-        found = parser.found
-        del parser
-        return reduce(later_version, found, '0')
+    #if parser.found:
+    #    found = parser.found
+    #    del parser
+    #    return reduce(later_version, found, '0')
 
     del page
-    del parser
+    #del parser
     return None
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git



More information about the Reportbug-commits mailing list