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 730495 Details for
Bug 912624
mock: list index out of range
[?]
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]
don't assume we have logging handler installed
logging.patch (text/plain), 856 bytes, created by
Clark Williams
on 2013-04-01 21:42:04 UTC
(
hide
)
Description:
don't assume we have logging handler installed
Filename:
MIME Type:
Creator:
Clark Williams
Created:
2013-04-01 21:42:04 UTC
Size:
856 bytes
patch
obsolete
>commit df788ed2144ee7b84ddb874bf11c95e00b79ec76 >Author: Clark Williams <clark.williams@gmail.com> >Date: Mon Apr 1 16:39:02 2013 -0500 > > fix logging assumption in main mock file [BZ# 912624] > > Signed-off-by: Clark Williams <clark.williams@gmail.com> > >diff --git a/py/mock.py b/py/mock.py >index 07629ba..b6bafef 100755 >--- a/py/mock.py >+++ b/py/mock.py >@@ -712,7 +712,9 @@ def main(ret): > # set logging verbosity > if options.verbose == 0: > log.handlers[0].setLevel(logging.WARNING) >- logging.getLogger("mockbuild.Root.state").handlers[0].setLevel(logging.WARNING) >+ tmplog = logging.getLogger("mockbuild.Root.state") >+ if tmplog.handlers: >+ tmplog.handlers[0].setLevel(logging.WARNING) > elif options.verbose == 1: > log.handlers[0].setLevel(logging.INFO) > elif options.verbose == 2:
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 912624
: 730495