summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2010-07-07 00:17:05 +0200
committerZac Medico <zmedico@gentoo.org>2010-07-06 18:29:56 -0700
commit4fa4f4cad6b9fa7180e2c06877258fadbcbaf8af (patch)
tree70df94e5e0ab1a1a2c3996593069739b81a50a74
parente073799b25483d6b059063a8c7969c8c2406ff0b (diff)
downloadportage-4fa4f4cad6b9fa7180e2c06877258fadbcbaf8af.tar.gz
portage-4fa4f4cad6b9fa7180e2c06877258fadbcbaf8af.tar.bz2
portage-4fa4f4cad6b9fa7180e2c06877258fadbcbaf8af.zip
repoman: Fix bogus warnings "Invalid atom in [..]/package.keywords: D" when working on CVS trees (bug #275789)
-rw-r--r--pym/portage/util/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/util/__init__.py b/pym/portage/util/__init__.py
index ac191fb2a..3c552025b 100644
--- a/pym/portage/util/__init__.py
+++ b/pym/portage/util/__init__.py
@@ -324,7 +324,7 @@ def grabfile_package(myfilename, compatlevel=0, recursive=0):
def grablines(myfilename,recursive=0):
mylines=[]
if recursive and os.path.isdir(myfilename):
- if myfilename in ["RCS", "CVS", "SCCS"]:
+ if os.path.basename(myfilename) in ["RCS", "CVS", "SCCS"]:
return mylines
dirlist = os.listdir(myfilename)
dirlist.sort()