From patchwork Thu Sep 20 20:57: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: 11610 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 10E3423EFD for ; Thu, 20 Sep 2012 20:57:16 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 86FF5A1874A for ; Thu, 20 Sep 2012 20:57:15 +0000 (UTC) Received: by iafj25 with SMTP id j25so1952676iaf.11 for ; Thu, 20 Sep 2012 13:57: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=2VadSbv3z/k/SyYR3rGxkMQ8NXCLx7oJaPfgUUqLJ2k=; b=NpC2pj93q21so3oV821VrzGGFLG89kkrLaq6RgqKrFplB7WEvuaKSSma744eIXU/E+ yGBXCxQAkOJ9hq/NfUuUol40vmDP6bs41N9Ti871HqgZypOPFMDH7C5l/h3wRnYGzYSJ nfL7lUvh/AHYKNc/w99U5khu3Lzmf2ob4yCYFs1UY8a12yIk/mwd3SUxRiRqEbP6Uc3E 6q/RXwRaAscT+OVze1b/AmZO0B+/1y7FFOrs1WicCBDRNQoUH7YLYMyYWWLNSQVaVy39 HyongqhzkHvu21Bmt/J8FJwvrfxYaM3ss699aW0pr2ctQRDt3rjClTPf2/6oPA6zSxIv Bx5Q== Received: by 10.50.237.41 with SMTP id uz9mr2858680igc.43.1348174634774; Thu, 20 Sep 2012 13:57: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.184.232 with SMTP id ex8csp97448igc; Thu, 20 Sep 2012 13:57:13 -0700 (PDT) Received: by 10.216.23.202 with SMTP id v52mr1711004wev.32.1348174632634; Thu, 20 Sep 2012 13:57:12 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id x10si9505979wif.19.2012.09.20.13.57.11 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 13:57: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 1TEno7-00084h-Ix for ; Thu, 20 Sep 2012 20:57:11 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 81766E2266 for ; Thu, 20 Sep 2012 20:57:11 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-server X-Launchpad-Branch: ~linaro-validation/lava-server/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 394 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 394: enable devserver if it is available (i.e. if an instance is using buildout-development.cfg) Message-Id: <20120920205711.12696.97402.launchpad@ackee.canonical.com> Date: Thu, 20 Sep 2012 20:57: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="15985"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 2cc1158381832b0df1487bc190d3376b0c6c959c X-Gm-Message-State: ALoCoQk2RW8EQcB7oPOKA+RsstBNUWAk4HxwpmX6cZPjxBtchTht1HTznH/O+B8+gVLPznMoPFgR ------------------------------------------------------------ revno: 394 committer: Michael Hudson-Doyle branch nick: trunk timestamp: Fri 2012-09-21 08:56:45 +1200 message: enable devserver if it is available (i.e. if an instance is using buildout-development.cfg) modified: lava_server/settings/common.py --- lp:lava-server https://code.launchpad.net/~linaro-validation/lava-server/trunk You are subscribed to branch lp:lava-server. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription === modified file 'lava_server/settings/common.py' --- lava_server/settings/common.py 2012-07-09 09:37:58 +0000 +++ lava_server/settings/common.py 2012-09-20 20:56:45 +0000 @@ -122,6 +122,12 @@ 'south', ] +try: + import devserver + INSTALLED_APPS += ['devserver'] +except ImportError: + pass + TEMPLATE_CONTEXT_PROCESSORS = [ "django.contrib.auth.context_processors.auth", "django.core.context_processors.debug",