aboutsummaryrefslogtreecommitdiffstats
path: root/pylintrc
diff options
context:
space:
mode:
authorSourabh Jain <sourabhjain@linux.ibm.com>2020-05-06 16:45:40 +0530
committerJake Hunsaker <jhunsake@redhat.com>2020-05-07 10:04:30 -0400
commitd1aa3d8054118b7cd1f01146655df2470de3a64e (patch)
treeabbbcfe483fbec42ddd8aa90b07165086ee84ca3 /pylintrc
parentd902e144f094fcfd090f64db615f86811faf12cf (diff)
downloadsos-d1aa3d8054118b7cd1f01146655df2470de3a64e.tar.gz
[policies] Take care of empty lines while parsing /etc/os-release
The check function in CozPolicy class hits the ValueError exception if we have empty lines in /etc/os-release file. Updated the list comprehension used to parse the /etc/os-release file with a if condition to take care of empty lines. Closes: #2045 Resolves: #2046 Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'pylintrc')
0 files changed, 0 insertions, 0 deletions