ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [incubator-ponymail] branch master updated: pylint - use Python3 super() call
Date Sun, 20 May 2018 13:28:40 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git


The following commit(s) were added to refs/heads/master by this push:
     new 94e687f  pylint - use Python3 super() call
94e687f is described below

commit 94e687f653959d475259d4d8c13a399d645f550e
Author: Sebb <sebb@apache.org>
AuthorDate: Sun May 20 14:28:39 2018 +0100

    pylint - use Python3 super() call
---
 tools/ponymailconfig.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/ponymailconfig.py b/tools/ponymailconfig.py
index a2e45f9..7295f87 100755
--- a/tools/ponymailconfig.py
+++ b/tools/ponymailconfig.py
@@ -33,6 +33,6 @@ from configparser import RawConfigParser
 class PonymailConfig(RawConfigParser):
 
     def __init__(self,*args, **kwargs):
-        super(self.__class__, self).__init__(*args, **kwargs)
+        super().__init__(*args, **kwargs)
         path = os.path.dirname(os.path.realpath(__file__))
         RawConfigParser.read(self, "%s/ponymail.cfg" % path)

-- 
To stop receiving notification emails like this one, please contact
sebb@apache.org.

Mime
View raw message