summaryrefslogtreecommitdiff
path: root/distutils/command
diff options
context:
space:
mode:
author谭九鼎 <109224573@qq.com>2022-01-26 16:49:59 +0800
committer谭九鼎 <109224573@qq.com>2022-01-26 16:49:59 +0800
commit4d36a45c4bf1a700105a6b5c34719a50ef2fdb81 (patch)
treed2a324f444ca777fd07745eed23a11b6033136a6 /distutils/command
parentbb018f1ac34bb638ef0aa76d7fff0fe7dace6754 (diff)
downloadpython-setuptools-git-4d36a45c4bf1a700105a6b5c34719a50ef2fdb81.tar.gz
Use super()
Diffstat (limited to 'distutils/command')
-rw-r--r--distutils/command/bdist_msi.py2
-rw-r--r--distutils/command/check.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/distutils/command/bdist_msi.py b/distutils/command/bdist_msi.py
index 0863a188..15259532 100644
--- a/distutils/command/bdist_msi.py
+++ b/distutils/command/bdist_msi.py
@@ -27,7 +27,7 @@ class PyDialog(Dialog):
def __init__(self, *args, **kw):
"""Dialog(database, name, x, y, w, h, attributes, title, first,
default, cancel, bitmap=true)"""
- Dialog.__init__(self, *args)
+ super().__init__(*args)
ruler = self.h - 36
bmwidth = 152*ruler/328
#if kw.get("bitmap", True):
diff --git a/distutils/command/check.py b/distutils/command/check.py
index ada25006..525540b6 100644
--- a/distutils/command/check.py
+++ b/distutils/command/check.py
@@ -17,7 +17,7 @@ try:
def __init__(self, source, report_level, halt_level, stream=None,
debug=0, encoding='ascii', error_handler='replace'):
self.messages = []
- Reporter.__init__(self, source, report_level, halt_level, stream,
+ super().__init__(source, report_level, halt_level, stream,
debug, encoding, error_handler)
def system_message(self, level, message, *children, **kwargs):