diff options
| author | antarus <antarus@gentoo.org> | 2007-04-01 05:00:46 +0000 |
|---|---|---|
| committer | antarus <antarus@gentoo.org> | 2007-04-01 05:00:46 +0000 |
| commit | 825c75c436b8e0c262dc2dce74d0ac45f18f8585 (patch) | |
| tree | 7898a5015ef206e2e715a451b6bfa06ea5df37e1 /trunk/src/lintool | |
| parent | ed1ef26ac2d118ee1747fa72328d45d008e0a21b (diff) | |
| download | gentoolkit-825c75c436b8e0c262dc2dce74d0ac45f18f8585.tar.gz | |
remove string module
svn path=/; revision=379
Diffstat (limited to 'trunk/src/lintool')
| -rw-r--r-- | trunk/src/lintool/lintool/ebuild.py | 3 |
1 files changed, 1 insertions, 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") |
