From: Zac Medico Date: Sun, 17 Jun 2012 15:22:00 +0000 (-0700) Subject: grabfile_package: show real file name in error X-Git-Tag: v2.2.0_alpha111~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a4ea52918c3cccaf2459fa2264ab0219071de70a;p=portage.git grabfile_package: show real file name in error --- 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):