diff --git a/python/spacewalk/common/rhnConfig.py b/python/spacewalk/common/rhnConfig.py index b4ec099c1bfc..5116715a5486 100644 --- a/python/spacewalk/common/rhnConfig.py +++ b/python/spacewalk/common/rhnConfig.py @@ -388,6 +388,8 @@ def sanitize_value(key, val): "db_host": str, "server.susemanager.mirrcred_user": str, "server.susemanager.mirrcred_pass": str, + "web.version": str, + "web.version.uyuni": str, } val = val.strip() diff --git a/python/spacewalk/spacewalk-backend.changes.vzhestkov.fix-version-cfg-parse b/python/spacewalk/spacewalk-backend.changes.vzhestkov.fix-version-cfg-parse new file mode 100644 index 000000000000..414b5386ea20 --- /dev/null +++ b/python/spacewalk/spacewalk-backend.changes.vzhestkov.fix-version-cfg-parse @@ -0,0 +1 @@ +- Always parse versions from rhn config as strings