summaryrefslogtreecommitdiff
path: root/dev-python/mecab-python/files/mecab-python-py3.diff
blob: 33c8d97ebb2b267974f7bd8ceb3791d50584e13b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@
     return os.popen(str).readlines()[0][:-1]
 
 def cmd2(str):
-    return string.split (cmd1(str))
+    return cmd1(str).split()
 
 setup(name = "mecab-python",
 	version = cmd1("mecab-config --version"),