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 862957 Details for
Bug 1063808
Custom info with empty value can be added to system
[?]
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 for the rhn-custom-info python part
0001-1063808-Custom-info-with-empty-value-added.patch (text/plain), 988 bytes, created by
Dimitar Yordanov
on 2014-02-13 20:10:19 UTC
(
hide
)
Description:
Patch for the rhn-custom-info python part
Filename:
MIME Type:
Creator:
Dimitar Yordanov
Created:
2014-02-13 20:10:19 UTC
Size:
988 bytes
patch
obsolete
>From 177221ea31a804c4caaa2f22a2006b19bc91dd8c Mon Sep 17 00:00:00 2001 >From: Dimitar Yordanov <dyordano@redhat.com> >Date: Thu, 13 Feb 2014 20:29:33 +0100 >Subject: [PATCH] 1063808 - Custom info with empty value added > >--- > client/tools/rhncustominfo/rhn-custom-info.py | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/client/tools/rhncustominfo/rhn-custom-info.py b/client/tools/rhncustominfo/rhn-custom-info.py >index 2f49c4d..47e610c 100755 >--- a/client/tools/rhncustominfo/rhn-custom-info.py >+++ b/client/tools/rhncustominfo/rhn-custom-info.py >@@ -151,6 +151,9 @@ def verify_command_line(): > if not args and not options.list_values and not options.delete_values: > system_exit(1, "You must provide key/value pairs to store") > >+ if '' in map(lambda e : e.strip(), args): >+ system_exit(1, "Not valid value is provided for key/value pairs") >+ > if not args and options.delete_values: > system_exit(1, "You must provide a key to delete") > >-- >1.8.3.1 >
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 1063808
: 862957 |
863243