mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +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:
parent
dac957364f
commit
7763327a63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user