Projet

Général

Profil

0001-python3-object-builtin-class-constructor-takes-no-pa.patch

Paul Marillonnet, 06 mars 2019 17:45

Télécharger (933 octets)

Voir les différences:

Subject: [PATCH] python3: 'object' builtin class constructor takes no
 parameter (#31147)

 src/authentic2/decorators.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/authentic2/decorators.py
109 109
        if args:
110 110
            # Case of a decorator used directly
111 111
            return cls(**kwargs)(args[0])
112
        return super(CacheDecoratorBase, cls).__new__(cls, *args, **kwargs)
112
        return super(CacheDecoratorBase, cls).__new__(cls)
113 113

  
114 114
    def __init__(self, timeout=None, hostname_vary=True, args=None,
115 115
                 kwargs=None):
116
-