projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed1ef26
)
remove string module
author
antarus
<antarus@gentoo.org>
Sun, 1 Apr 2007 05:00:46 +0000
(
05:00
-0000)
committer
antarus
<antarus@gentoo.org>
Sun, 1 Apr 2007 05:00:46 +0000
(
05:00
-0000)
svn path=/; revision=379
trunk/src/lintool/lintool/ebuild.py
patch
|
blob
|
history
diff --git
a/trunk/src/lintool/lintool/ebuild.py
b/trunk/src/lintool/lintool/ebuild.py
index 825b4cedf51ffab53be9c3034d84b5a5b11260fa..c8df0a2e239ab42d70b234895b8613d5f0e3f438 100644
(file)
--- 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")