Message ID | 20110714123812.6523.23944.launchpad@loganberry.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_tool/commands/auth.py' --- lava_tool/commands/auth.py 2011-06-17 13:33:45 +0000 +++ lava_tool/commands/auth.py 2011-07-14 12:30:52 +0000 @@ -92,7 +92,7 @@ except IOError as ex: raise LavaCommandError( "opening %r failed: %s" % (self.args.token_file, ex)) - token = token_file.read() + token = token_file.read().strip() else: if parsed_host.password: token = parsed_host.password