mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Small cleanup to use class attribute directly instead of property for transport names
This commit is contained in:
parent
fee73100c4
commit
de306eb5da
3 changed files with 3 additions and 13 deletions
|
@ -43,10 +43,7 @@ except ImportError:
|
|||
class Connection(ConnectionBase):
|
||||
''' Local based connections '''
|
||||
|
||||
@property
|
||||
def transport(self):
|
||||
''' used to identify this connection object '''
|
||||
return 'local'
|
||||
transport = 'local'
|
||||
|
||||
def _connect(self):
|
||||
''' connect to the local host; nothing to do here '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue