summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorHiPhish <hiphish@posteo.de>2023-04-09 20:00:51 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2023-04-11 17:10:01 +0300
commit439a61affab391d44341ac3113592698abd4143b (patch)
tree6fd31f98446f2aaf7d4f7062f102abbf23f021fb /packaging
parenta912193fd8ed5e673009e879c088aa70b297811a (diff)
downloadmeson-439a61affab391d44341ac3113592698abd4143b.tar.gz
Change "can not" to "cannot" throughout project
The word "cannot" expresses inability to do something whereas "can not" expresses the ability to refrain from doing something.
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/createmsi.py2
-rwxr-xr-xpackaging/createpkg.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/createmsi.py b/packaging/createmsi.py
index fe49b7b17..4febc393d 100755
--- a/packaging/createmsi.py
+++ b/packaging/createmsi.py
@@ -246,7 +246,7 @@ class PackageGenerator:
})
ET.SubElement(vcredist_feature, 'MergeRef', {'Id': 'VCRedist'})
ET.ElementTree(self.root).write(self.main_xml, encoding='utf-8', xml_declaration=True)
- # ElementTree can not do prettyprinting so do it manually
+ # ElementTree cannot do pretty-printing, so do it manually
import xml.dom.minidom
doc = xml.dom.minidom.parse(self.main_xml)
with open(self.main_xml, 'w') as open_file:
diff --git a/packaging/createpkg.py b/packaging/createpkg.py
index 70da656d2..7f3a69e40 100755
--- a/packaging/createpkg.py
+++ b/packaging/createpkg.py
@@ -96,7 +96,7 @@ class PkgGenerator:
'version': '0', # self.version,
'onConclusion': 'none'}).text = self.pkgname
ET.ElementTree(root).write(self.distribution_file, encoding='utf-8', xml_declaration=True)
- # ElementTree can not do prettyprinting so do it manually
+ # ElementTree cannot do pretty-printing, so do it manually
import xml.dom.minidom
doc = xml.dom.minidom.parse(self.distribution_file)
with open(self.distribution_file, 'w') as open_file: