Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Rings:1-MinimalX
yum
yum-3.2.29-parse-restart_suggested.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yum-3.2.29-parse-restart_suggested.patch of Package yum
Index: yum/update_md.py =================================================================== --- yum/update_md.py.orig +++ yum/update_md.py @@ -71,7 +71,8 @@ class UpdateNotice(object): 'solution' : '', 'references' : [], 'pkglist' : [], - 'reboot_suggested' : False + 'reboot_suggested' : False, + 'restart_suggested' : False } if elem: @@ -260,7 +261,7 @@ class UpdateNotice(object): """ Parse an individual package:: - <!ELEMENT package (filename, sum, reboot_suggested)> + <!ELEMENT package (filename, sum, reboot_suggested, restart_suggested)> <!ATTLIST package name CDATA #REQUIRED> <!ATTLIST package version CDATA #REQUIRED> <!ATTLIST package release CDATA #REQUIRED> @@ -268,6 +269,7 @@ class UpdateNotice(object): <!ATTLIST package epoch CDATA #REQUIRED> <!ATTLIST package src CDATA #REQUIRED> <!ELEMENT reboot_suggested (#PCDATA)> + <!ELEMENT restart_suggested (#PCDATA)> <!ELEMENT filename (#PCDATA)> <!ELEMENT sum (#PCDATA)> <!ATTLIST sum type (md5|sha1) "sha1"> @@ -288,6 +290,8 @@ class UpdateNotice(object): package['sum'] = (child.attrib.get('type'), child.text) elif child.tag == 'reboot_suggested': self._md['reboot_suggested'] = True + elif child.tag == 'restart_suggested': + self._md['restart_suggested'] = True return package def xml(self):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor