Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 205351 Details for
Bug 303491
yum --skip-broken update does not skip packages with broken dependencies
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to allow run_priority attribute of plugins to get run order correct
yum_priority.patch (text/plain), 1.22 KB, created by
Jeremy Sanders
on 2007-09-25 11:42:15 UTC
(
hide
)
Description:
Patch to allow run_priority attribute of plugins to get run order correct
Filename:
MIME Type:
Creator:
Jeremy Sanders
Created:
2007-09-25 11:42:15 UTC
Size:
1.22 KB
patch
obsolete
>--- plugins.py~ 2007-09-10 17:28:35.000000000 +0100 >+++ plugins.py 2007-09-25 12:40:48.000000000 +0100 >@@ -161,7 +161,17 @@ > raise ValueError('unknown slot name "%s"' % slotname) > conduitcls = eval(conduitcls) # Convert name to class object > >- for modname, func in self._pluginfuncs[slotname]: >+ # create list of plugins with priority >+ plugins = [] >+ for modname, module, func in self._pluginfuncs[slotname]: >+ run_priority = 50 >+ if hasattr(module, 'run_priority'): >+ run_priority = module.run_priority >+ plugins.append( (run_priority, modname, func) ) >+ plugins.sort() >+ >+ # run plugins according to priority >+ for priority, modname, func in sorted(plugins): > self.verbose_logger.debug('Running "%s" handler for "%s" plugin', slotname, > modname) > >@@ -251,7 +261,7 @@ > funcname = slot+'_hook' > if hasattr(module, funcname): > self._pluginfuncs[slot].append( >- (modname, getattr(module, funcname)) >+ (modname, module, getattr(module, funcname)) > ) > > def _getpluginconf(self, modname):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 303491
:
204291
| 205351 |
205501