Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
David Wilson d280bba02b issue #369: fix KeyError during new context start.
Update _via_by_context earlier; fixes:

    Traceback (most recent call last):
      File "/Users/dmw/src/mitogen/mitogen/service.py", line 519, in _on_service_call
	return invoker.invoke(method_name, kwargs, msg)
      File "/Users/dmw/src/mitogen/mitogen/service.py", line 253, in invoke
	response = self._invoke(method_name, kwargs, msg)
      File "/Users/dmw/src/mitogen/mitogen/service.py", line 239, in _invoke
	ret = method(**kwargs)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 454, in get
	reraise(*result)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 412, in _wait_or_start
	response = self._connect(key, spec, via=via)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 363, in _connect
	self._update_lru(context, spec, via)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 266, in _update_lru
	self._update_lru_unlocked(new_context, spec, via)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 253, in _update_lru_unlocked
	if self._refs_by_context[context] == 0:
    KeyError: Context(1008, u'ssh.localhost.sudo.mitogen__user3')
7 years ago
.github Update PULL_REQUEST_TEMPLATE.md. 7 years ago
.travis issue #409: Pythonize run_ansible_playbook.sh 7 years ago
ansible_mitogen issue #369: fix KeyError during new context start. 7 years ago
docs issue #410: update changelog 7 years ago
examples examples: fix mitogen-fuse on 2.x. 8 years ago
mitogen issue #410: support sudo --user and SELinux options, add stub test. 7 years ago
tests Import missing stub-sudo.py. 7 years ago
.gitignore Add venvs/ to gitignore 7 years ago
.lgtm.yml compat: ignore LGTM checks on third party 8 years ago
.travis.yml tests: stop idiotic Travis TTY/pip progress bar spam 7 years ago
LICENSE Add license text everywhere. 8 years ago
README.md commented out travis badge 7 years ago
dev_requirements.txt tests: activate faulthandler if available 7 years ago
preamble_size.py add --dump to preamble_size.py. 7 years ago
run_tests tests: make ansible/tests/ run in run_tests. 7 years ago
setup.cfg Ignore another annoying flake8 message. 8 years ago
setup.py Update trove classifiers. 8 years ago
tox.ini tests: Run tests on CPython 3.5 and 3.6 with Tox 7 years ago

README.md