From 2794e1abc8139fc4bf36c1c4e4103ffcd2dd2f97 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 27 Oct 2011 12:02:26 -0700 Subject: Fix profile-formats spelling in messages. --- pym/portage/package/ebuild/_config/LocationsManager.py | 2 +- pym/portage/repository/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pym') diff --git a/pym/portage/package/ebuild/_config/LocationsManager.py b/pym/portage/package/ebuild/_config/LocationsManager.py index 0ab0950ef..d79362542 100644 --- a/pym/portage/package/ebuild/_config/LocationsManager.py +++ b/pym/portage/package/ebuild/_config/LocationsManager.py @@ -128,7 +128,7 @@ class LocationsManager(object): "'%(repo_name)s' is implicitly using 'portage-1' profile format, but " "the repository profiles are not marked as that format. This will break " "in the future. Please either convert the following paths " - "to files, or add\nprofile-format = portage-1\nto the " + "to files, or add\nprofile-formats = portage-1\nto the " "repositories layout.conf. Files: '%(files)s'\n") % dict(profile_path=currentPath, repo_name=repo_loc, files=', '.join(offenders))), diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index 9bffd7097..f773ae09c 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -678,7 +678,7 @@ def parse_layout_conf(repo_location, repo_name=None): unknown = raw_formats.difference(['pms', 'portage-1']) if unknown: warnings.warn((_("Repository named '%(repo_name)s' has unsupported " - "profiles in use ('profile-format = %(unknown_fmts)s' setting in " + "profiles in use ('profile-formats = %(unknown_fmts)s' setting in " "'%(layout_filename)s; please upgrade portage.") % dict(repo_name=repo_name, layout_filename=layout_filename, unknown_fmts=" ".join(unknown))), -- cgit v1.2.3-1-g7c22