From: Alec Warner <antarus@gentoo.org> Date: Thu, 11 Jan 2007 20:22:30 +0000 (-0000) Subject: elaborate a bit on isjustname() X-Git-Tag: v2.1.2~68 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=15532f25132406d2014f108805ddc408a95f9362;p=portage.git elaborate a bit on isjustname() svn path=/main/trunk/; revision=5563 --- diff --git a/pym/portage_dep.py b/pym/portage_dep.py index 3d0e160b0..34eb8f33d 100644 --- a/pym/portage_dep.py +++ b/pym/portage_dep.py @@ -382,7 +382,7 @@ def isvalidatom(atom, allow_blockers=False): def isjustname(mypkg): """ - Checks to see if the depstring is only the package name + Checks to see if the depstring is only the package name (no version parts) Example usage: >>> isjustname('media-libs/test-3.0')