[yum-commits] 2 commits - docs/yum.8 yum/config.py
zpavlas at osuosl.org
zpavlas at osuosl.org
Tue Nov 5 10:23:16 UTC 2013
docs/yum.8 | 4 ++++
yum/config.py | 3 +++
2 files changed, 7 insertions(+)
New commits:
commit 70d69bc1f57c284b09111e4adf00d7b55a45f076
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Tue Nov 5 10:52:29 2013 +0100
docs: document "yum updateinfo severity <sevs>"
diff --git a/docs/yum.8 b/docs/yum.8
index 4720ccd..e42bf49 100644
--- a/docs/yum.8
+++ b/docs/yum.8
@@ -630,6 +630,10 @@ Is the subset of the updateinfo information, pertaining to bugfixes.
Is the subset of the updateinfo information, pertaining to security.
.br
+.I \fR "\fB* severity / sev\fP"
+Include security relevant packages of this severity.
+
+.br
.I \fR "\fB* recommended\fP"
Is the subset of the updateinfo information, pertaining to recommended updates.
commit fde17d2a478bc48e1bfc093506ff5a0ecae5a0c4
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Mon Nov 4 16:53:32 2013 +0100
_readRawRepoFile: return only valid (ini, section_id). BZ 1018795
Apparently we may loop over all sections without a match and
return section_id that's not defined. Return None instead.
diff --git a/yum/config.py b/yum/config.py
index 1cb4fc5..851339d 100644
--- a/yum/config.py
+++ b/yum/config.py
@@ -1240,6 +1240,9 @@ def _readRawRepoFile(repo):
for sect in ini._sections.keys():
if varReplace(sect, repo.yumvar) == repo.id:
section_id = sect
+ break
+ else:
+ return None
return ini, section_id
def writeRawRepoFile(repo,only=None):
More information about the Yum-commits
mailing list