mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix pylint
This commit is contained in:
parent
392fd4f837
commit
b4c8f7eb57
1 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
import argparse
|
||||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
Script for copying back xml junit files from tests
|
||||
'''
|
||||
from __future__ import absolute_import
|
||||
import argparse # pylint disable=minimum-python-version
|
||||
import os
|
||||
import paramiko
|
||||
import subprocess
|
||||
|
@ -12,7 +17,9 @@ class DownloadArtifacts(object):
|
|||
self.client = self.setup_transport()
|
||||
|
||||
def setup_transport(self):
|
||||
# pylint disable=minimum-python-version
|
||||
config = yaml.load(subprocess.check_output(['bundle', 'exec', 'kitchen', 'diagnose', self.instance]))
|
||||
# pylint enable=minimum-python-version
|
||||
state = config['instances'][self.instance]['state_file']
|
||||
tport = config['instances'][self.instance]['transport']
|
||||
transport = paramiko.Transport((
|
||||
|
|
Loading…
Add table
Reference in a new issue