From patchwork Tue Oct 23 22:03:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael-Doyle Hudson X-Patchwork-Id: 12453 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id EF76523F6F for ; Tue, 23 Oct 2012 22:03:14 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 97396A18BFA for ; Tue, 23 Oct 2012 22:03:14 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so3252966iag.11 for ; Tue, 23 Oct 2012 15:03:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=oGiUk8s25+JXbvxMFx0fXRl34klX86c+cP7Bn3q+dRI=; b=WE4FsR8engM3zwKndwYgBpw+G0GzMhGu9vn8eDXhH0UJ9bwWBk+s0wrHQ3jZjjuD0X I3Jxa0MZJuy048mdpWOBczI1YpS3W2El104XKirPOViP6W+tsxzpXpQ6EPEv1sutUKoU 5G4wDk8n9M2AAfIROTl0jW5Rv6EniEUietiELHpbERUfexD8WCMSm4r8NUU6zEehYZv0 o+zapGOiNj3tgvYJPMXEs/5AZP9+eCNao0SSk85C9Ml9ks3vTbiElzLVYdp+9NvE5wqR NhRwrWNP3Mewzl3QCyP8Sn4f/ieAa+7NhyesfOSHrLuara1IVYKpAOSDOEqkj/U3Z4eK qF2g== Received: by 10.50.100.137 with SMTP id ey9mr506807igb.57.1351029794024; Tue, 23 Oct 2012 15:03:14 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp512353igt; Tue, 23 Oct 2012 15:03:13 -0700 (PDT) Received: by 10.181.11.197 with SMTP id ek5mr990180wid.4.1351029792667; Tue, 23 Oct 2012 15:03:12 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id f5si972220wiv.41.2012.10.23.15.03.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Oct 2012 15:03:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TQmZ5-0007oH-UC for ; Tue, 23 Oct 2012 22:03:11 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id CC0E1E0341 for ; Tue, 23 Oct 2012 22:03:11 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-tool X-Launchpad-Branch: ~linaro-validation/lava-tool/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 179 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-tool/trunk] Rev 179: fix including token in url Message-Id: <20121023220311.1659.52552.launchpad@ackee.canonical.com> Date: Tue, 23 Oct 2012 22:03:11 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16179"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: aa5089b06d253875b26ad6d371ded6ce98ab6fd1 X-Gm-Message-State: ALoCoQmP0tFs98uXs1NTeMPsFx9b7KQRXaZ1sXzUsDx4ZAoPYPQ9EOKCCV11BPLLxmNeScYH0cJC ------------------------------------------------------------ revno: 179 committer: Michael Hudson-Doyle branch nick: trunk timestamp: Wed 2012-10-24 11:02:14 +1300 message: fix including token in url modified: lava_tool/authtoken.py --- lp:lava-tool https://code.launchpad.net/~linaro-validation/lava-tool/trunk You are subscribed to branch lp:lava-tool. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-tool/trunk/+edit-subscription === 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)