Message ID | 20121023220311.1659.52552.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_tool/authtoken.py' --- lava_tool/authtoken.py 2012-06-26 02:04:30 +0000 +++ lava_tool/authtoken.py 2012-10-23 22:02:14 +0000 @@ -76,7 +76,7 @@ user = None auth, host = urllib.splituser(host) if auth: - user, password = urllib.splitpasswd(auth) + user, token = urllib.splitpasswd(auth) url = self._scheme + "://" + host + handler if user is not None and token is None: token = self.auth_backend.get_token_for_endpoint(user, url)