aboutsummaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
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 fe49b7b..4febc39 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 70da656..7f3a69e 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: