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 592619 Details for
Bug 833007
[Patch] fixes for cases no CDS found and some enhancements for RHUI load balancer plugin
[?]
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 2/4] [] is evaluated as False in boolean context
0002-is-evaluated-as-False-in-boolean-context.-see-also-h.patch (text/plain), 871 bytes, created by
Satoru SATOH
on 2012-06-18 12:01:58 UTC
(
hide
)
Description:
[PATCH 2/4] [] is evaluated as False in boolean context
Filename:
MIME Type:
Creator:
Satoru SATOH
Created:
2012-06-18 12:01:58 UTC
Size:
871 bytes
patch
obsolete
>From 42864560c0694cd1023cb6d908285918a81389cd Mon Sep 17 00:00:00 2001 >From: Satoru SATOH <ssato@redhat.com> >Date: Mon, 18 Jun 2012 19:20:23 +0900 >Subject: [PATCH 2/4] [] is evaluated as False in boolean context. see also: > http://code.google.com/p/soc/wiki/PythonStyleGuide#True_False_evaluations > >--- > etc/rhui/client-yum-plugin/rhui-lb.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/etc/rhui/client-yum-plugin/rhui-lb.py b/etc/rhui/client-yum-plugin/rhui-lb.py >index e4e8394..b9b4ada 100644 >--- a/etc/rhui/client-yum-plugin/rhui-lb.py >+++ b/etc/rhui/client-yum-plugin/rhui-lb.py >@@ -38,7 +38,7 @@ def postreposetup_hook(conduit): > if repo.id.startswith('rhui'): > rhui_repos.append(repo) > >- if len(rhui_repos) == 0: >+ if not rhui_repos: > return > > # Read in the list of CDS load balancers >-- >1.7.10.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 833007
:
592615
| 592619 |
592621
|
592625