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 898044 Details for
Bug 1099909
RHEVM-PYTHON-SDK: branding issue in error 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]
Patch to fix the branding in error messages
0001-Fix-branding-in-error-messages.patch (text/plain), 3.69 KB, created by
Juan Hernández
on 2014-05-21 14:56:25 UTC
(
hide
)
Description:
Patch to fix the branding in error messages
Filename:
MIME Type:
Creator:
Juan Hernández
Created:
2014-05-21 14:56:25 UTC
Size:
3.69 KB
patch
obsolete
>From 03b5f66f9f297205faa7ab53af6e4b1b4786a341 Mon Sep 17 00:00:00 2001 >From: Juan Hernandez <juan.hernandez@redhat.com> >Date: Wed, 21 May 2014 16:48:29 +0200 >Subject: [PATCH] Fix branding in error messages > >Resolves: rhbz#1099909 >Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> >--- > 0001-Branding.patch | 40 ++++++++++++++++++++++++++++++++++++---- > rhevm-sdk-python.spec | 5 ++++- > 2 files changed, 40 insertions(+), 5 deletions(-) > >diff --git a/0001-Branding.patch b/0001-Branding.patch >index a2258c3..0760a2e 100644 >--- a/0001-Branding.patch >+++ b/0001-Branding.patch >@@ -1,4 +1,4 @@ >-From 7319a1615b15fd275bb2840d6cca6fac998ad0cc Mon Sep 17 00:00:00 2001 >+From 25af23f2c765f1082d36b33471b513e8d85926d0 Mon Sep 17 00:00:00 2001 > From: Juan Hernandez <juan.hernandez@redhat.com> > Date: Tue, 1 Apr 2014 17:01:34 +0200 > Subject: [PATCH] Branding >@@ -8,11 +8,12 @@ Change branding from oVirt to RHEV. > Change-Id: If5589d1650e89b5c3a5b1f1e19b519c18025fa46 > Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> > --- >- setup.py | 4 ++-- >- 1 file changed, 2 insertions(+), 2 deletions(-) >+ setup.py | 4 ++-- >+ src/ovirtsdk/infrastructure/errors.py | 6 +++--- >+ 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/setup.py b/setup.py >-index bcbec89..15d5817 100755 >+index 7b2ae0e..4dc69e4 100755 > --- a/setup.py > +++ b/setup.py > @@ -7,9 +7,9 @@ from setuptools import setup, Command >@@ -27,6 +28,37 @@ index bcbec89..15d5817 100755 > 'author': 'Michael Pasternak', > 'author_email': 'mpastern@redhat.com', > 'url': 'http://www.ovirt.org/wiki/SDK', >+diff --git a/src/ovirtsdk/infrastructure/errors.py b/src/ovirtsdk/infrastructure/errors.py >+index c75e62d..60aec19 100644 >+--- a/src/ovirtsdk/infrastructure/errors.py >++++ b/src/ovirtsdk/infrastructure/errors.py >+@@ -23,7 +23,7 @@ class OvirtSdkError(Exception): >+ >+ class ConnectionError(Exception): >+ def __init__(self, expect): >+- Exception.__init__(self, '[ERROR]::oVirt API connection failure, %s' % expect) >++ Exception.__init__(self, '[ERROR]::RHEV API connection failure, %s' % expect) >+ >+ class NoCertificatesError(Exception): >+ def __init__(self): >+@@ -31,7 +31,7 @@ class NoCertificatesError(Exception): >+ >+ class DisconnectedError(Exception): >+ def __init__(self): >+- Exception.__init__(self, '[ERROR]::oVirt sdk is disconnected from the server.') >++ Exception.__init__(self, '[ERROR]::RHEV sdk is disconnected from the server.') >+ >+ class UnsecuredConnectionAttemptError(Exception): >+ def __init__(self): >+@@ -89,7 +89,7 @@ class RequestError(Exception): >+ self.reason = response.reason >+ self.status = response.status >+ >+- Exception.__init__(self, '[ERROR]::oVirt API request failure.' + self.__str__()) >++ Exception.__init__(self, '[ERROR]::RHEV API request failure.' + self.__str__()) >+ >+ def __str__(self): >+ return '\r\nstatus: ' + str(self.status) + '\r\nreason: ' + self.reason + '\r\ndetail: ' + str(self.detail) > -- > 1.9.0 > >diff --git a/rhevm-sdk-python.spec b/rhevm-sdk-python.spec >index cf8cb85..8cec57b 100644 >--- a/rhevm-sdk-python.spec >+++ b/rhevm-sdk-python.spec >@@ -1,6 +1,6 @@ > Name: rhevm-sdk-python > Version: 3.4.1.0 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: RHEV-M Software Development Kit > Group: Development/Libraries > License: ASL 2.0 >@@ -58,6 +58,9 @@ With this package, custom software can be built for RHEV-M. > %doc LICENSE > > %changelog >+* Wed May 16 2014 Juan Hernandez <juan.hernandez@redhat.com> - 3.4.1.0-3 >+- Fix branding issue in error messages #1099909. >+ > * Wed Apr 30 2014 Juan Hernandez <juan.hernandez@redhat.com> - 3.4.1.0-2 > - Added maintenance operation to VM. > - Added hosted_engine element to Host. >-- >1.9.0 >
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 1099909
: 898044