From patchwork Tue Jul 10 15:59:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Doan X-Patchwork-Id: 9933 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 401DE23E23 for ; Tue, 10 Jul 2012 15:59:16 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 0561AA187FA for ; Tue, 10 Jul 2012 15:59:15 +0000 (UTC) Received: by ggnf1 with SMTP id f1so161910ggn.11 for ; Tue, 10 Jul 2012 08:59:15 -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=Kfm3nOuCWd32ObVtsgFY3cghlUOFloI091apVaHTIVU=; b=EsNWQPWDf+XDjzlbJ9zKRC+JOmFpFHqk9lLyi1uwfg/+5Qa/3RWPZvLkZRRW+uOfYu MrnZexhpsihaRu4ydFxvYJ/6ovdNpJExAjXA+V6dDUNolNeJVzR+grZUpszk8ew37mDj 9DNbvyJfIQZuSeyIh1tIUyEnPv9Ggt6yZaPn4Tx1UoIYOqTYb1r/mhQzkXk617QWiD1V Gq5lmllXkparcoYFUjOBao6tyjR66g7j4H4X+29c3suAT+LIhNaUBEDuU71zW0OhSu39 Da1hCZTIRiuNf2mwdc4DSSB1uIoPjHzgiguvrGEJZ3DInvZf++DLmYix5LjbJQdPOVwi 0W6g== Received: by 10.42.89.72 with SMTP id f8mr23447039icm.33.1341935955353; Tue, 10 Jul 2012 08:59:15 -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.231.24.148 with SMTP id v20csp51878ibb; Tue, 10 Jul 2012 08:59:14 -0700 (PDT) Received: by 10.180.93.68 with SMTP id cs4mr39345008wib.14.1341935953787; Tue, 10 Jul 2012 08:59:13 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id g5si42002563wer.100.2012.07.10.08.59.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 Jul 2012 08:59:13 -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 1SocqH-00088F-7V for ; Tue, 10 Jul 2012 15:59:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 22590E0020 for ; Tue, 10 Jul 2012 15:59:13 +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: 382 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 382: set the DJANGO_SETTINGS_MODULE environment variable Message-Id: <20120710155913.8442.57350.launchpad@ackee.canonical.com> Date: Tue, 10 Jul 2012 15:59:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="15584"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 7886f705d2934bca1709b7c42dbc0608d1ee2dfb X-Gm-Message-State: ALoCoQmsd3EGh65tjz5SJ7vUXRetrK1yYNrTX47U71E5FE2WVPg/yIcJTn2MaLcKU7hjbdAEYqKZ ------------------------------------------------------------ revno: 382 committer: Andy Doan branch nick: lava-server timestamp: Mon 2012-07-09 18:03:30 -0500 message: set the DJANGO_SETTINGS_MODULE environment variable This may be needed by a subprocess we may launch. modified: lava_server/manage.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/manage.py' --- lava_server/manage.py 2012-05-07 04:14:55 +0000 +++ lava_server/manage.py 2012-07-09 23:03:30 +0000 @@ -109,6 +109,7 @@ ddst = self.args.instance_template.format( instance=self.args.instance) os.environ["DJANGO_DEBIAN_SETTINGS_TEMPLATE"] = ddst + os.environ["DJANGO_SETTINGS_MODULE"] = settings_module settings = __import__(settings_module, fromlist=['']) # XXX execute_manager is deprecated in Django 1.4. from django.core.management import execute_manager