]> git.phdru.name Git - m_lib.git/blobdiff - m_lib/flad/flad.py
Fix string.split for Py3 compatibility
[m_lib.git] / m_lib / flad / flad.py
index cfa6ff65deac1bca7aad5bc5e79c01fce7e4c4cd..b2446d824bfa8cdeac042995405c0e4ca6f4a159 100644 (file)
@@ -88,7 +88,7 @@ class Flad(UserList):
       if line[-1] == '\n':
          line = line[:-1] # Chop
 
-      l = string.split(line, self.key_sep, 1) # Just split to key and reminder
+      l = line.split(self.key_sep, 1) # Just split to key and reminder
       return tuple(l)