2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 11:01:09 +00:00

Skip confluent import on exec

In main context, we don't need
sshutil, and python path is not
cooperative, so just skip it.
This commit is contained in:
Jarrod Johnson 2021-03-16 16:23:27 -04:00
parent dac957364f
commit 7763327a63

View File

@ -16,7 +16,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import confluent.sshutil as sshutil
try:
import confluent.sshutil as sshutil
except ImportError:
pass
import eventlet.green.subprocess as subprocess
import msgpack
import os