Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
python-cepa
use-fullargspec.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use-fullargspec.patch of Package python-cepa
Index: cepa-1.8.4/stem/control.py =================================================================== --- cepa-1.8.4.orig/stem/control.py +++ cepa-1.8.4/stem/control.py @@ -474,7 +474,7 @@ def with_default(yields = False): def decorator(func): def get_default(func, args, kwargs): - arg_names = inspect.getargspec(func).args[1:] # drop 'self' + arg_names = inspect.getfullargspec(func).args[1:] # drop 'self' default_position = arg_names.index('default') if 'default' in arg_names else None if default_position is not None and default_position < len(args): Index: cepa-1.8.4/stem/util/conf.py =================================================================== --- cepa-1.8.4.orig/stem/util/conf.py +++ cepa-1.8.4/stem/util/conf.py @@ -285,7 +285,7 @@ def uses_settings(handle, path, lazy_loa config.load(path) config._settings_loaded = True - if 'config' in inspect.getargspec(func).args: + if 'config' in inspect.getfullargspec(func).args: return func(*args, config = config, **kwargs) else: return func(*args, **kwargs)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor