Skip to content

Commit 3494e02

Browse files
committed
Merge remote-tracking branch 'origin/pr/640'
* origin/pr/640: Enhance grammar in `qmemman` Pull request description: I know typo/grammar-fixing PRs are usually frowned upon as "trying to get clout for contributing to X" but I've recently been spending some time in the dom0 journal and some of those strings have been irking me a bit, I don't think I'll be the only one to say that they could sound better and more professional.
2 parents f66c912 + 8a66084 commit 3494e02

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

qubes/qmemman/systemstate.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def get_free_xen_memory(self):
101101
)
102102
elif xen_free < assigned_but_unused + self.XEN_FREE_MEM_MIN:
103103
self.log.error(
104-
"Xen free = {!r} too small for satisfy assignments! "
104+
"Xen free = {!r} too small to satisfy assignments! "
105105
"assigned_but_unused={!r}, domdict={!r}".format(
106106
xen_free, assigned_but_unused, self.domdict
107107
)
@@ -350,7 +350,7 @@ def print_stats(self, xenfree, memset_reqs):
350350
def do_balance(self):
351351
self.log.debug("do_balance()")
352352
if os.path.isfile("/var/run/qubes/do-not-membalance"):
353-
self.log.debug("do-not-membalance file preset, returning")
353+
self.log.debug("do-not-membalance file present, returning")
354354
return
355355

356356
self.refresh_memactual()
@@ -406,7 +406,7 @@ def do_balance(self):
406406
== self.domdict[dom2].memory_actual
407407
):
408408
self.log.warning(
409-
"dom {!r} didnt react to memory request"
409+
"dom {!r} did not react to memory request"
410410
" (holds {}, requested balloon down to {})".format(
411411
dom2,
412412
self.domdict[dom2].memory_actual,
@@ -416,8 +416,8 @@ def do_balance(self):
416416
self.domdict[dom2].no_progress = True
417417
else:
418418
self.log.warning(
419-
"dom {!r} still hold more"
420-
" memory than have assigned ({} > {})".format(
419+
"dom {!r} still holds more"
420+
" memory than assigned ({} > {})".format(
421421
dom2,
422422
self.domdict[dom2].memory_actual,
423423
mem2,

0 commit comments

Comments
 (0)