minor updates to network connection plugins (#23043)

* removes unused log() function in network_cli
* adds method comments to terminal plugin base
This commit is contained in:
Peter Sprygada 2017-03-28 12:57:18 -04:00 committed by GitHub
parent c0db6d79f6
commit 768cb437ab
2 changed files with 31 additions and 4 deletions

View file

@ -58,10 +58,6 @@ class Connection(_Connection):
if play_context.verbosity > 3:
logging.getLogger('paramiko').setLevel(logging.DEBUG)
def log(self, msg):
msg = 'h=%s u=%s %s' % (self._play_context.remote_addr, self._play_context.remote_user, msg)
logger.debug(msg)
def update_play_context(self, play_context):
"""Updates the play context information for the connection"""