Bug #233137 - Implement Atom.split().
authorZac Medico <zmedico@gentoo.org>
Mon, 28 Jul 2008 01:05:28 +0000 (01:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 28 Jul 2008 01:05:28 +0000 (01:05 -0000)
svn path=/main/trunk/; revision=11228

pym/portage/dep.py

index c2f506d4bd321181cfaa6a20fe5d63d48b4221d6..737c009a94802aaf194d7b07c19710fd6b6bb2ef 100644 (file)
@@ -416,7 +416,8 @@ class Atom(object):
        _atoms = weakref.WeakValueDictionary()
 
        _str_methods = ("endswith", "find", "index", "lstrip", "replace",
-               "startswith", "strip", "rindex", "rfind", "rstrip", "__getitem__",
+               "startswith", "split", "strip",
+               "rindex", "rfind", "rstrip", "__getitem__",
                "__eq__", "__hash__", "__len__", "__ne__", "__repr__", "__str__")
 
        __slots__ = ("__weakref__", "blocker", "cp", "cpv", "operator",