From 4fa4f4cad6b9fa7180e2c06877258fadbcbaf8af Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 7 Jul 2010 00:17:05 +0200 Subject: [PATCH] repoman: Fix bogus warnings "Invalid atom in [..]/package.keywords: D" when working on CVS trees (bug #275789) --- pym/portage/util/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.26.2