From 8a66084e90003abeba78248e71d147ec57ef5572 Mon Sep 17 00:00:00 2001 From: Atrate Date: Fri, 6 Dec 2024 22:45:11 +0100 Subject: [PATCH] Enhance grammar in `qmemman` Signed-off-by: Atrate --- qubes/qmemman/systemstate.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/qubes/qmemman/systemstate.py b/qubes/qmemman/systemstate.py index bfc45e4ee..8bb3fac07 100644 --- a/qubes/qmemman/systemstate.py +++ b/qubes/qmemman/systemstate.py @@ -101,7 +101,7 @@ def get_free_xen_memory(self): ) elif xen_free < assigned_but_unused + self.XEN_FREE_MEM_MIN: self.log.error( - "Xen free = {!r} too small for satisfy assignments! " + "Xen free = {!r} too small to satisfy assignments! " "assigned_but_unused={!r}, domdict={!r}".format( xen_free, assigned_but_unused, self.domdict ) @@ -350,7 +350,7 @@ def print_stats(self, xenfree, memset_reqs): def do_balance(self): self.log.debug("do_balance()") if os.path.isfile("/var/run/qubes/do-not-membalance"): - self.log.debug("do-not-membalance file preset, returning") + self.log.debug("do-not-membalance file present, returning") return self.refresh_memactual() @@ -406,7 +406,7 @@ def do_balance(self): == self.domdict[dom2].memory_actual ): self.log.warning( - "dom {!r} didnt react to memory request" + "dom {!r} did not react to memory request" " (holds {}, requested balloon down to {})".format( dom2, self.domdict[dom2].memory_actual, @@ -416,8 +416,8 @@ def do_balance(self): self.domdict[dom2].no_progress = True else: self.log.warning( - "dom {!r} still hold more" - " memory than have assigned ({} > {})".format( + "dom {!r} still holds more" + " memory than assigned ({} > {})".format( dom2, self.domdict[dom2].memory_actual, mem2,