commit | 849e04a02a6bbc954f5692070e75d22f709538d5 | [log] [tgz] |
---|---|---|
author | Ben Rose <brose@redhat.com> | Wed Apr 13 19:01:54 2016 -0500 |
committer | Clark Williams <williams@redhat.com> | Thu Apr 14 18:37:57 2016 -0500 |
tree | 4400ac6c0d896e15b6a5c52538a8a55ffa012f11 | |
parent | c13545399ca36e29a06f54277c12070d190b8149 [diff] |
config: deal with sparse environment [1312057] rteval failed while running in a test environment with the following error: File "/usr/lib/python2.7/site-packages/rteval/rtevalConfig.py", line 41, in default_config_search (os.getenv('SUDO_USER') or os.getenv('USER'))), '.rteval'), TypeError: cannot concatenate 'str' and 'NoneType' objects Add this patch to deal with no SUDO_USER or USER environment variable in sparse environments. Signed-off-by: Clark Williams <williams@redhat.com>