Fix isjustname docstring to have a valid atom in the example.
authorZac Medico <zmedico@gentoo.org>
Sat, 12 Sep 2009 17:51:44 +0000 (17:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 12 Sep 2009 17:51:44 +0000 (17:51 -0000)
svn path=/main/trunk/; revision=14235

pym/portage/dep.py

index c16b816b6f4108f1f426b6f8ce428e4243a02f55..865db16a7d6b0ef2e6464ab527ed7801b85d08ff 100644 (file)
@@ -922,7 +922,7 @@ def isjustname(mypkg):
        Raises InvalidAtom if the input is invalid.
 
        Example usage:
-               >>> isjustname('media-libs/test-3.0')
+               >>> isjustname('=media-libs/test-3.0')
                False
                >>> isjustname('media-libs/test')
                True