Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning #3

Open
michaelaye opened this issue Oct 16, 2018 · 2 comments
Open

Deprecation warning #3

michaelaye opened this issue Oct 16, 2018 · 2 comments

Comments

@michaelaye
Copy link

Using xonsh 0.8.0 I get this, loading this xontrib:

$ xonsh                                                                              (base)
/Users/klay6683/miniconda3/lib/python3.6/site-packages/xonsh/__amalgam__.py:21808: DeprecationWarning: __xonsh_completers__ has been deprecated, please use __xonsh__.completers instead.
  DeprecationWarning,
@sergiopr89
Copy link
Contributor

Error shown:

/usr/local/lib/python3.6/dist-packages/xonsh/built_ins.py:1467: DeprecationWarning:
__xonsh_completers__ has been deprecated, please use __xonsh__.completers instead.

In order to fix it, change:

__xonsh_completers__['docker'] = docker_completer
__xonsh_completers__.move_to_end('docker', last=False)

By:

__xonsh__.completers['docker'] = docker_completer
__xonsh__.completers.move_to_end('docker', last=False)

In:

xontrib/docker_tabcomplete.xsh

@sergiopr89
Copy link
Contributor

Hi @xsteadfastx, when you have a moment, could you take a look and merge if proceeds, please?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants