Small cleanup to use class attribute directly instead of property for transport names

This commit is contained in:
Toshio Kuratomi 2016-03-16 11:22:50 -07:00
parent fee73100c4
commit de306eb5da
3 changed files with 3 additions and 13 deletions

View file

@ -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 '''