From: antarus Date: Sun, 1 Apr 2007 05:00:46 +0000 (-0000) Subject: remove string module X-Git-Tag: gentoolkit-0.2.4.3~134 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=825c75c436b8e0c262dc2dce74d0ac45f18f8585;p=gentoolkit.git remove string module svn path=/; revision=379 --- diff --git a/trunk/src/lintool/lintool/ebuild.py b/trunk/src/lintool/lintool/ebuild.py index 825b4ce..c8df0a2 100644 --- a/trunk/src/lintool/lintool/ebuild.py +++ b/trunk/src/lintool/lintool/ebuild.py @@ -6,7 +6,6 @@ from test import Test import re import os import os.path -import string class TestSpaces(Test): @@ -277,7 +276,7 @@ class TestLicense(Test): k = self.re.match(s) if k: print k.group(1) - licenses = string.split(k.group(1), " ") + licenses = k.group(1).split(" ") for i in licenses: if i not in self.licenses: self.errors.append("License '" + i + "' not known")