Skip to content

Commit 9a885cd

Browse files
tomschrmenschel-d
andcommitted
Fix #224: Replace super() call
In class clean, replace super(CleanCommand, self).run() with CleanCommand.run(self) Co-authored-by: Dennis Menschel <menschel-d@users.noreply.github.com>
1 parent 3f92aa5 commit 9a885cd

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy