Skip to content

Commit

Permalink
Shifted setup of crochet to be inline with developer best practice. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tcuthbert authored and jathanism committed Sep 6, 2016
1 parent cb5c121 commit 97add77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions trigger/twister2.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
import tty
from copy import copy
from collections import deque
from crochet import wait_for, run_in_reactor, setup, EventLoop

setup()

from twisted.conch.ssh import session, common
from twisted.conch.ssh.channel import SSHChannel
from twisted.conch.endpoints import (SSHCommandClientEndpoint,
Expand All @@ -34,8 +38,6 @@
from trigger.twister import is_awaiting_confirmation, has_ioslike_error, TriggerSSHUserAuth
from trigger import tacacsrc
from twisted.internet import reactor
from crochet import wait_for, run_in_reactor, setup, EventLoop
setup()


@run_in_reactor
Expand Down

0 comments on commit 97add77

Please sign in to comment.