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 581296 Details for
Bug 817304
YumOutput() in output.py has no attribute 'ts'
[?]
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.
list_info.py yum plug in
list_info.py (text/plain), 846 bytes, created by
Tom Shield
on 2012-05-01 00:56:39 UTC
(
hide
)
Description:
list_info.py yum plug in
Filename:
MIME Type:
Creator:
Tom Shield
Created:
2012-05-01 00:56:39 UTC
Size:
846 bytes
patch
obsolete
>from yum import config >from output import YumOutput >from yum.plugins import PluginYumExit, TYPE_CORE, TYPE_INTERACTIVE > >requires_api_version = '2.3' > >plugin_type = (TYPE_INTERACTIVE) > >def predownload_hook(conduit): > conf = conduit.getConf() > if conf.enable_list_info: > conduit.info(2, 'TESTING') > ypl = conduit.getDownloadPackages() > out = YumOutput() > out.listPkgs(ypl,'',outputType='info') > raise PluginYumExit('end of download info on packages') > >def config_hook(conduit): > # Add a boolean option to the [main] section > config.YumConf.enable_list_info = config.BoolOption(False) > >def init_hook(conduit): > conf = conduit.getConf() > > # Display the options from the [main] section > conduit.info(2, 'List info plugin loaded') > conduit.info(2, "enable_list_info = %r" % conf.enable_list_info) >
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 Raw
Actions:
View
Attachments on
bug 817304
: 581296