From: fuzzyray Date: Thu, 7 May 2009 21:58:13 +0000 (-0000) Subject: Add patch from antarus: Run pychecker over everything, fix obvious things like module... X-Git-Tag: gentoolkit-0.3.0_rc6~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7018904c584526af4caa108199473269368da1e0;p=gentoolkit.git Add patch from antarus: Run pychecker over everything, fix obvious things like modules not in use, variables not being used, or global exceptions not being deleted. Also fix imports for style (1 per line) svn path=/trunk/gentoolkit/; revision=625 --- diff --git a/pym/gentoolkit/glsa/__init__.py b/pym/gentoolkit/glsa/__init__.py index 4c8f280..bd9ec28 100644 --- a/pym/gentoolkit/glsa/__init__.py +++ b/pym/gentoolkit/glsa/__init__.py @@ -16,8 +16,6 @@ __author__ = "Marius Mauch " import os import sys import urllib -import time -import codecs import re import xml.dom.minidom @@ -585,7 +583,6 @@ class Glsa: @rtype: Boolean @returns: True if the system is affected, False if not """ - vList = [] rValue = False for k in self.packages.keys(): pkg = self.packages[k]