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 876145 Details for
Bug 1077954
info test: "Environment instance has no attribute Environment instance has no attribute" messages
[?]
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]
fix member names so default values match access functions
0002-1077954-info-test-Environment-instance-has-no-attrib.patch (text/plain), 1.68 KB, created by
Greg Nichols
on 2014-03-18 23:53:20 UTC
(
hide
)
Description:
fix member names so default values match access functions
Filename:
MIME Type:
Creator:
Greg Nichols
Created:
2014-03-18 23:53:20 UTC
Size:
1.68 KB
patch
obsolete
>From 377c21fa65aed24cdb80eb9d0e95d05f01171457 Mon Sep 17 00:00:00 2001 >From: Greg Nichols <gnichols@redhat.com> >Date: Tue, 18 Mar 2014 19:52:38 -0400 >Subject: [PATCH 2/2] 1077954 - info test: 'Environment instance has no > attribute Environment instance has no attribute' messages > >--- > hwcert/environment.py | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/hwcert/environment.py b/hwcert/environment.py >index 5aa3662..8f14579 100644 >--- a/hwcert/environment.py >+++ b/hwcert/environment.py >@@ -52,8 +52,8 @@ class Environment(DocumentBase): > self.defaultCatalogURL="https://hardware.redhat.com/xmlrpc.cgi" > # self.defaultCatalogURL="https://partner-hwcert.redhat.com/xmlrpc.cgi" > # outbound e-mail is disabled by default >- self.defaultServerEMailFromAddress = "" # hwcert-server@redhat.com >- self.defaultServerEMailSMTPHost = "" # localhost >+ self.defaultServerEMail = "" # hwcert-server@redhat.com >+ self.defaultServerSMTPHost = "" # localhost > > try: > self.load(self.environmentFile) >@@ -115,8 +115,8 @@ class Environment(DocumentBase): > > serverElement = self.findOrCreateElement(self.document.documentElement, Tags.server) > emailElement = self.findOrCreateElement(serverElement, Tags.email) >- emailElement.setAttribute(Attributes.from_address, self.defaultServerEMailFromAddress) >- emailElement.setAttribute(Attributes.smtp_host, self.defaultServerEMailSMTPHost) >+ emailElement.setAttribute(Attributes.from_address, self.defaultServerEMail) >+ emailElement.setAttribute(Attributes.smtp_host, self.defaultServerSMTPHost) > > def showChangesFromDefault(self): > >-- >1.8.5.3 >
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 1077954
: 876145