diff options
| author | antarus <antarus@gentoo.org> | 2007-04-01 04:20:21 +0000 |
|---|---|---|
| committer | antarus <antarus@gentoo.org> | 2007-04-01 04:20:21 +0000 |
| commit | 51011296474309808091adb1639a9019a774f4f3 (patch) | |
| tree | b03864de56ac72e2e44a76bb3cb98e3d8285f7e9 /trunk/src | |
| parent | d04dd670e5794cae04036a65b349e7ee398fffb3 (diff) | |
| download | gentoolkit-51011296474309808091adb1639a9019a774f4f3.tar.gz | |
Remove deprecated string module and import syntax
svn path=/; revision=373
Diffstat (limited to 'trunk/src')
| -rw-r--r-- | trunk/src/glsa-check/glsa.py | 11 |
1 files changed, 8 insertions, 3 deletions
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 <genone@gentoo.org>" -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"] == "*": |
