Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #101045
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Ankur Agrawal <ankur.cse@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | fabric.network.disconnect_all() |
| Date | Thu, 31 Dec 2015 07:18:09 +0000 |
| Lines | 28 |
| Message-ID | <mailman.103.1451554716.11925.python-list@python.org> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de OF4Nz26pN3gom+VWdoWZ1QTUMErwOgrYHucAa6glj0nw== |
| Return-Path | <ankur.cse@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.016 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'skip:e 50': 0.05; 'snippet': 0.09; 'subject:()': 0.09; 'output': 0.13; 'def': 0.13; 'received:io': 0.16; 'received:psf.io': 0.16; 'skip:r 90': 0.16; 'team,': 0.18; 'decorator': 0.22; 'thanks,': 0.24; 'message- id:@mail.gmail.com': 0.27; "skip:' 10": 0.28; 'code': 0.30; 'task': 0.30; 'run': 0.33; 'correctly': 0.34; 'skip:d 20': 0.34; 'received:google.com': 0.35; 'something': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'missing': 0.37; 'received:209': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.40; 'saw': 0.77; "message'": 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=O++Ji37G+OVdwSN+fJVqZxgpcYYbDqFUnBQtWmZ0Fnc=; b=KGFSYghzkEEemXamUH5iSgRyp8Cef5B95vXmX0Kyi8rvDDNEjRqF/XiE2WfwfB5FXB n5rwtlbYJ4S602roN0Chh5vCbTjndNA/KhlnEBKua7s0QFAiVBR0eB9fNpw5QD+MZmNv T4HJBoqpeUd3VcMV30guYrLLNEhr1GYDJ4u3LCKRt89LelyAG8lC37yiia+YxZYqrznZ MPfeRCAC13ZtKY23aeU7IR7Kb2h9fiBjWyCddTE4+zfuYfHLcRdsmnsq7aN8ntC/uGXO XKajfNJ0totl9lwxroTuyMzBuLQ28HkyEisb/ynZLpGnZ2lAgdKlQbsTCUGFxQgY4K4d +ZGQ== |
| X-Received | by 10.129.109.134 with SMTP id i128mr50296046ywc.179.1451546299110; Wed, 30 Dec 2015 23:18:19 -0800 (PST) |
| X-Mailman-Approved-At | Thu, 31 Dec 2015 04:38:34 -0500 |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.20+ |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:101045 |
Show key headers only | View raw
hi team,
I am not sure that disconnect_all() works correctly for task marked as
@parallel
Following is code snippet -
@parallel
def diagnoseTransaction():
with hide('stdout', 'stderr'):
output = run(command)
main.py:
execute(diagnoseTransaction,hosts=hosts_transaction)
disconnect_all()
In the console I see all the commands ran but I never saw
'Disconnecting message' in the console.
While if I remove @parallel decorator and then if I run the same code
then I do see 'Disconnecting messages' in the console.
Am I missing something or ?
Thanks,
Ankur
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
fabric.network.disconnect_all() Ankur Agrawal <ankur.cse@gmail.com> - 2015-12-31 07:18 +0000
csiph-web