Add newline when printing the password

This commit is contained in:
Matt Martz 2016-01-28 16:20:59 -06:00
parent 6d1a834b81
commit bf52e541fb

View file

@ -68,7 +68,7 @@ def main():
sys.stderr.write('Passwords do not match\n') sys.stderr.write('Passwords do not match\n')
sys.exit(1) sys.exit(1)
else: else:
sys.stdout.write(keyring.get_password('ansible', username)) sys.stdout.write('%s\n' % keyring.get_password('ansible', username))
sys.exit(0) sys.exit(0)