mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Avoid comparing 'max' with 'max\n'.
Fixes https://pagure.io/freeipa/issue/8764. Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
4d716d3fbc
commit
4769c15f37
@@ -1098,7 +1098,7 @@ def check_available_memory(ca=False):
|
||||
)
|
||||
|
||||
with open(limit_file) as fd:
|
||||
limit = fd.readline()
|
||||
limit = fd.readline().rstrip()
|
||||
with open(usage_file) as fd:
|
||||
used = int(fd.readline())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user