0001-python3-object-builtin-class-constructor-takes-no-pa.patch
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 |
- |