From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 26 Jun 2013 03:31:43 +0000 (+0200) Subject: Update comments. X-Git-Tag: v2.2.0_alpha186~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95fe42882c5d53798c9f6ecc7633229efd74a965;p=portage.git Update comments. --- 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))