From 95fe42882c5d53798c9f6ecc7633229efd74a965 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 26 Jun 2013 05:31:43 +0200 Subject: [PATCH] Update comments. --- pym/portage/repository/config.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index 896527a2e..c0f20079e 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -135,11 +135,13 @@ class RepoConfig(object): priority = None self.priority = priority + # Not implemented. sync = repo_opts.get('sync') if sync is not None: sync = sync.strip() self.sync = sync + # Not implemented. format = repo_opts.get('format') if format is not None: format = format.strip() @@ -486,9 +488,9 @@ class RepoConfigLoader(object): except EnvironmentError: pass else: - # The 'source' keyword argument is needed since - # otherwise ConfigParsier may throw a TypeError because - # it assumes that f.name is a native string rather + # The 'source' keyword argument is needed since otherwise + # ConfigParser in Python <3.3.3 may throw a TypeError + # because it assumes that f.name is a native string rather # than binary when constructing error messages. kwargs = {source_kwarg: p} read_file(f, **portage._native_kwargs(kwargs)) -- 2.26.2