Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6878916

Browse files
tomschrmenschel-d
andauthored
Fix #224: Replace super() call (#226)
In class clean, replace super(CleanCommand, self).run() with CleanCommand.run(self) Co-authored-by: Dennis Menschel <[email protected]> Co-authored-by: Dennis Menschel <[email protected]>
1 parent 3f92aa5 commit 6878916

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,25 @@ Change Log
66
All notable changes to this code base will be documented in this file,
77
in every released version.
88

9+
Version 2.9.x (WIP)
10+
===================
11+
12+
:Released: 2020-xx-yy
13+
:Maintainer:
14+
15+
Features
16+
--------
17+
18+
Bug Fixes
19+
---------
20+
21+
* :gh:`224` (:pr:`226`): Replaced in class ``clean``, ``super(CleanCommand, self).run()`` with
22+
``CleanCommand.run(self)``
23+
24+
25+
Removals
26+
--------
27+
928

1029
Version 2.9.1
1130
=============

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def run_tests(self):
3838

3939
class Clean(CleanCommand):
4040
def run(self):
41-
super(CleanCommand, self).run()
41+
CleanCommand.run(self)
4242
delete_in_root = ["build", ".cache", "dist", ".eggs", "*.egg-info", ".tox"]
4343
delete_everywhere = ["__pycache__", "*.pyc"]
4444
for candidate in delete_in_root:

0 commit comments

Comments
 (0)