mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
Move BUFSIZE to __init__ since it's common to many connection plugins
This commit is contained in:
parent
b77c4ce458
commit
fee73100c4
6 changed files with 7 additions and 15 deletions
|
@ -30,7 +30,7 @@ import traceback
|
|||
|
||||
from ansible import constants as C
|
||||
from ansible.errors import AnsibleError
|
||||
from ansible.plugins.connection import ConnectionBase
|
||||
from ansible.plugins.connection import ConnectionBase, BUFSIZE
|
||||
from ansible.utils import to_bytes
|
||||
|
||||
try:
|
||||
|
@ -39,8 +39,6 @@ except ImportError:
|
|||
from ansible.utils.display import Display
|
||||
display = Display()
|
||||
|
||||
BUFSIZE = 65536
|
||||
|
||||
|
||||
class Connection(ConnectionBase):
|
||||
''' Local zone based connections '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue