Commit 83f35a63 by gservat

Oops... fixed an error

parent 13da2c3a
......@@ -327,7 +327,7 @@ class Facts(object):
self.facts['distribution_release'] = ora_prefix + data
elif name == 'SuSE':
data = get_file_content(path).splitlines()
self.facts['distribution_version'] = data.split[2].split('=')[1].strip()
self.facts['distribution_version'] = data[2].split('=')[1].strip()
else:
self.facts['distribution'] = name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment