commit:     66e11eea194dc4cde56851178234bb7312e3e551
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 21:06:24 2015 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 21:06:24 2015 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=66e11eea

egencache: Fix correct variable for repo_path.

Copy & paste error :-(.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 bin/egencache | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/egencache b/bin/egencache
index caf6613..ab36bbe 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -918,7 +918,7 @@ class GenChangeLogs(object):
                output.close()
 
        def _task_iter(self):
-               if not os.path.isdir(os.environ.get('GIT_DIR', 
os.path.join(repo_path, '.git'))):
+               if not os.path.isdir(os.environ.get('GIT_DIR', 
os.path.join(self._repo_path, '.git'))):
                        writemsg_level(
                                "ERROR: --update-changelogs supported only in 
git repos\n",
                                level=logging.ERROR, noiselevel=-1)

Reply via email to