Bug 667197
Summary: | Using the config module to get non-existent options returns the string 'None' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Rob Crittenden <rcritten> |
Component: | python-rhsm | Assignee: | Adrian Likins <alikins> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | J.C. Molet <jmolet> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | CC: | bkearney, dgoodwin, jesusr, jmolet, jsefler |
Target Milestone: | rc | Keywords: | QA-Closed |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-02-23 21:51:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 639436 |
Description
Rob Crittenden
2011-01-04 19:18:03 UTC
commit 3e593ca8bd4a55e0f5f369d44b7c64334a75c6cc Author: Adrian Likins <alikins> Date: Fri Jan 7 13:14:46 2011 -0500 667829: handle proxy config options being absent from rhsm.conf new config class doesn't like settings these to None, so they now get set to empty string I believe the above commit will fix that issue. Though technically, it slightly changes the api behaviour (returns '' instead of the None it was supposed to before or the 'None' it was actually returning). After creating a user as above using: subscription-manager register --user=admin --password=admin --type=domain --name=domaintypetest The user is successfully created with no errors while proxy variables are set to empty strings. This is tested in version: python-rhsm-0.94.15-1.git.0.b738ea1.el6.noarch |