You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/05/14 16:32:11 UTC

[incubator-ponymail-foal] branch master updated: Python3 always inherits from object

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-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new f735c61  Python3 always inherits from object
f735c61 is described below

commit f735c61f8ce3166625863f2db124cfdd2b4e1e84
Author: Sebb <se...@apache.org>
AuthorDate: Fri May 14 17:31:22 2021 +0100

    Python3 always inherits from object
---
 tools/plugins/elastic.py        | 2 +-
 tools/plugins/ponymailconfig.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/plugins/elastic.py b/tools/plugins/elastic.py
index e3a85fc..88f2592 100755
--- a/tools/plugins/elastic.py
+++ b/tools/plugins/elastic.py
@@ -189,7 +189,7 @@ class Elastic:
         return self.es.clear_scroll(*args, **kwargs)
 
 
-class _indices_wrap(object):
+class _indices_wrap:
     """
         Wrapper for the ES indices methods we use
     """
diff --git a/tools/plugins/ponymailconfig.py b/tools/plugins/ponymailconfig.py
index bd319bd..4961a5b 100755
--- a/tools/plugins/ponymailconfig.py
+++ b/tools/plugins/ponymailconfig.py
@@ -32,7 +32,7 @@ import os.path
 import yaml
 
 
-class PonymailConfig(object):
+class PonymailConfig:
 
     def __init__(self):
         # Get ../ponymail.yaml