From patchwork Wed Jan 9 00:15:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael-Doyle Hudson X-Patchwork-Id: 13926 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 756C223E21 for ; Wed, 9 Jan 2013 00:15:19 +0000 (UTC) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by fiordland.canonical.com (Postfix) with ESMTP id 1315CA1887A for ; Wed, 9 Jan 2013 00:15:18 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id gb30so1021493vcb.40 for ; Tue, 08 Jan 2013 16:15:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :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=TpdnswOL43egb6EnrbVpfotkURM731jk3XZ1RcMVmBg=; b=gM2kZd5F0e2LLSCmAI9kckVaDoAkddeQRBOJZV+YF/sPIOuMdIR7gf5Fw/cKC1HEPU I16N2woCRsXKB2vQzBNpTMNrafJY3rmBw3ot6T8vxRWOduUQ9I8hW8DWyO2jNz+NDXzm bsIbozTxZ6MW6/JNrhR8ylehst2zoKyf7LBu+HOqzScfdCcG9lbn3vHXwbXE2eclbNgm zNuw6l6ZnowVmPYJXWdfQKeM5YM16sCzb9ZFBkvfR9lMymQ4I7QwLfM67NCmIVYcXvTe 4LSBUC1YGLu9Y8sn66044G9CiDjz3RLv4fGDfuhCG44/QFik+0duCKeJfidR9lhZcVrT uMig== X-Received: by 10.52.176.6 with SMTP id ce6mr76844970vdc.57.1357690518602; Tue, 08 Jan 2013 16:15:18 -0800 (PST) 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.58.145.101 with SMTP id st5csp137538veb; Tue, 8 Jan 2013 16:15:18 -0800 (PST) X-Received: by 10.180.20.109 with SMTP id m13mr17999313wie.16.1357690517521; Tue, 08 Jan 2013 16:15:17 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id ce14si14249670wjb.7.2013.01.08.16.15.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Jan 2013 16:15:17 -0800 (PST) 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 1TsjK8-0006Y6-TY for ; Wed, 09 Jan 2013 00:15:16 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id CD641E03DD for ; Wed, 9 Jan 2013 00:15:16 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dashboard X-Launchpad-Branch: ~linaro-validation/lava-dashboard/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 382 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dashboard/trunk] Rev 382: kill some dead code Message-Id: <20130109001516.622.60011.launchpad@ackee.canonical.com> Date: Wed, 09 Jan 2013 00:15:16 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16402"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: c9ccf5a129120a7e8594a04f13c6d9c830f17f99 X-Gm-Message-State: ALoCoQmzV6XtH3VHrGJY502eI0t09DO+hR5AdTK0UbVX4vgOOZXKdlLQ8bC/U6MyBHdthmCAAIwM ------------------------------------------------------------ revno: 382 committer: Michael Hudson-Doyle branch nick: trunk timestamp: Wed 2013-01-09 13:14:23 +1300 message: kill some dead code modified: dashboard_app/views/filters/forms.py --- lp:lava-dashboard https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk You are subscribed to branch lp:lava-dashboard. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription === modified file 'dashboard_app/views/filters/forms.py' --- dashboard_app/views/filters/forms.py 2012-12-12 22:56:37 +0000 +++ dashboard_app/views/filters/forms.py 2013-01-09 00:14:23 +0000 @@ -139,23 +139,6 @@ TRFTestForm, extra=0, formset=BaseTRFTestsFormSet) -class FakeTRFTest(object): - def __init__(self, form): - self.test = form.cleaned_data['test'] - self.test_id = self.test.id - self._case_ids = [] - self._case_names = [] - for tc_form in form.test_case_formset: - self._case_ids.append(tc_form.cleaned_data['test_case'].id) - self._case_names.append(tc_form.cleaned_data['test_case'].test_case_id) - - def all_case_ids(self): - return self._case_ids - - def all_case_names(self): - return self._case_names - - class TestRunFilterForm(forms.ModelForm): class Meta: model = TestRunFilter