From: antarus Date: Sun, 1 Apr 2007 04:20:21 +0000 (-0000) Subject: Remove deprecated string module and import syntax X-Git-Tag: gentoolkit-0.2.4.3~140 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51011296474309808091adb1639a9019a774f4f3;p=gentoolkit.git Remove deprecated string module and import syntax svn path=/; revision=373 --- diff --git a/trunk/src/glsa-check/glsa.py b/trunk/src/glsa-check/glsa.py index 2cd093a..4d90240 100644 --- a/trunk/src/glsa-check/glsa.py +++ b/trunk/src/glsa-check/glsa.py @@ -13,7 +13,12 @@ __author__ = "Marius Mauch " -import os, sys, urllib, time, string, codecs, re +import os +import sys +import urllib +import time +import codecs +import re import xml.dom.minidom if sys.version_info[0:2] < (2,3): @@ -518,8 +523,8 @@ class Glsa: for k in self.packages.keys(): pkg = self.packages[k] for path in pkg: - vul_vers = string.join(path["vul_vers"]) - unaff_vers = string.join(path["unaff_vers"]) + vul_vers = "".join(path["vul_vers"]) + unaff_vers = "".join(join(path["unaff_vers"]) outstream.write("Affected package: %s\n" % k) outstream.write("Affected archs: ") if path["arch"] == "*":