[Python-modules-commits] [parallax] 04/08: Fix super call for python2

Valentin Vidic vvidic-guest at moszumanska.debian.org
Tue Nov 28 08:39:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

vvidic-guest pushed a commit to branch master
in repository parallax.

commit d5122890cc2509686b1bb9aa82e1b7c2c8b26e72
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Tue Nov 28 08:57:14 2017 +0100

    Fix super call for python2
---
 parallax/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parallax/__init__.py b/parallax/__init__.py
index bdedbc8..071068f 100644
--- a/parallax/__init__.py
+++ b/parallax/__init__.py
@@ -61,7 +61,7 @@ class Error(BaseException):
     that host.
     """
     def __init__(self, msg, task):
-        super().__init__(self)
+        super(BaseException, self).__init__()
         self.msg = msg
         self.task = task
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/parallax.git



More information about the Python-modules-commits mailing list