summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-06-17 08:22:00 -0700
committerZac Medico <zmedico@gentoo.org>2012-06-17 08:22:00 -0700
commita4ea52918c3cccaf2459fa2264ab0219071de70a (patch)
treeb19e84c2730aa7089488c0a5e207d10a96023a85
parent30b25033e67d2285f165d12e25903ea2cabf0235 (diff)
downloadportage-a4ea52918c3cccaf2459fa2264ab0219071de70a.tar.gz
portage-a4ea52918c3cccaf2459fa2264ab0219071de70a.tar.bz2
portage-a4ea52918c3cccaf2459fa2264ab0219071de70a.zip
grabfile_package: show real file name in error
-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 4ffd599b8..4645be52f 100644
--- a/pym/portage/util/__init__.py
+++ b/pym/portage/util/__init__.py
@@ -447,7 +447,7 @@ def grabfile_package(myfilename, compatlevel=0, recursive=0, allow_wildcard=Fals
try:
pkg = Atom(pkg, allow_wildcard=allow_wildcard, allow_repo=allow_repo, eapi=eapi)
except InvalidAtom as e:
- writemsg(_("--- Invalid atom in %s: %s\n") % (myfilename, e),
+ writemsg(_("--- Invalid atom in %s: %s\n") % (source_file, e),
noiselevel=-1)
else:
if pkg_orig == str(pkg):