Merge pull request #14879 from nmadhok/fix-lint

Fixing lint
This commit is contained in:
Pedro Algarvio 2014-08-10 06:05:43 +01:00
commit 1e86093013

View file

@ -1247,7 +1247,7 @@ def tty(device, echo=None):
return {'Error': 'The specified device is not a valid TTY'}
ret = subprocess.call(['echo', echo, '>', teletype], shell=False, stdout=open(os.devnull, 'wb'))
if ret == 0:
if ret == 0:
return {
'Success': 'Message was successfully echoed to {0}'.format(teletype)
}