diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-10-27 12:02:26 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-10-27 12:02:26 -0700 |
commit | 2794e1abc8139fc4bf36c1c4e4103ffcd2dd2f97 (patch) | |
tree | 6918d669bd0b377dd21f6a893cb70073ea50e3cd | |
parent | 985ddf279d8a26a848ddbc3d10a9a77b16d3af22 (diff) | |
download | portage-2794e1abc8139fc4bf36c1c4e4103ffcd2dd2f97.tar.gz portage-2794e1abc8139fc4bf36c1c4e4103ffcd2dd2f97.tar.bz2 portage-2794e1abc8139fc4bf36c1c4e4103ffcd2dd2f97.zip |
Fix profile-formats spelling in messages.
-rw-r--r-- | pym/portage/package/ebuild/_config/LocationsManager.py | 2 | ||||
-rw-r--r-- | pym/portage/repository/config.py | 2 |
2 files changed, 2 insertions, 2 deletions
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))), |