related #4274 - moved function 'create_temporary_fifo' to 'awx/main/utils/common.py' and referenced it in other plugins (fixed errors)

This commit is contained in:
olia-dev 2019-07-10 12:39:57 +02:00
parent 7b390fa2fc
commit b2d84a5d89
3 changed files with 1 additions and 11 deletions

View File

@ -1,9 +1,5 @@
from .plugin import CredentialPlugin
import os
import stat
import tempfile
import threading
from urllib.parse import quote, urlencode, urljoin
from django.utils.translation import ugettext_lazy as _

View File

@ -1,10 +1,6 @@
from .plugin import CredentialPlugin
import base64
import os
import stat
import tempfile
import threading
from urllib.parse import urljoin, quote_plus
from django.utils.translation import ugettext_lazy as _

View File

@ -1,9 +1,6 @@
import copy
import os
import pathlib
import stat
import tempfile
import threading
from urllib.parse import urljoin
from .plugin import CredentialPlugin
@ -85,6 +82,7 @@ hashi_ssh_inputs['metadata'] = [{
}]
hashi_ssh_inputs['required'].extend(['public_key', 'role'])
def kv_backend(**kwargs):
token = kwargs['token']
url = urljoin(kwargs['url'], 'v1')