From 825c75c436b8e0c262dc2dce74d0ac45f18f8585 Mon Sep 17 00:00:00 2001 From: antarus Date: Sun, 1 Apr 2007 05:00:46 +0000 Subject: [PATCH] remove string module svn path=/; revision=379 --- trunk/src/lintool/lintool/ebuild.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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") -- 2.26.2