Fix profile-formats spelling in messages.
authorZac Medico <zmedico@gentoo.org>
Thu, 27 Oct 2011 19:02:26 +0000 (12:02 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 27 Oct 2011 19:02:26 +0000 (12:02 -0700)
pym/portage/package/ebuild/_config/LocationsManager.py
pym/portage/repository/config.py

index 0ab0950efff14a3c3ad64ba2625040f9f37f291e..d793625429562c5b8cd9f893ccb5b77d55a0fc4c 100644 (file)
@@ -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))),
index 9bffd709734b788f8bccae2573ed40cc518ddb55..f773ae09c277ebaaca4b8678e32016038a18538f 100644 (file)
@@ -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))),