From patchwork Thu Jan 19 12:08:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 6294 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 5E0F823E0E for ; Thu, 19 Jan 2012 12:08:15 +0000 (UTC) Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id 3F710A18034 for ; Thu, 19 Jan 2012 12:08:15 +0000 (UTC) Received: by bkbzt4 with SMTP id zt4so4161064bkb.11 for ; Thu, 19 Jan 2012 04:08:15 -0800 (PST) Received: by 10.205.141.72 with SMTP id jd8mr5473680bkc.135.1326974894914; Thu, 19 Jan 2012 04:08:14 -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.205.82.144 with SMTP id ac16cs7986bkc; Thu, 19 Jan 2012 04:08:14 -0800 (PST) Received: by 10.216.138.5 with SMTP id z5mr359498wei.37.1326974893433; Thu, 19 Jan 2012 04:08:13 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id k5si18821544wiy.16.2012.01.19.04.08.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Jan 2012 04:08:13 -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 1Rnqmr-00038F-71 for ; Thu, 19 Jan 2012 12:08:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 26397E0025 for ; Thu, 19 Jan 2012 12:08:13 +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: 292 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dashboard/trunk] Rev 292: Use portable pathname concatenation Message-Id: <20120119120813.25601.69113.launchpad@ackee.canonical.com> Date: Thu, 19 Jan 2012 12:08: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="14692"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: fca886c9e547b71b26956637cd14aced1b2ac20c ------------------------------------------------------------ revno: 292 committer: Zygmunt Krynicki branch nick: lava-dashboard timestamp: Mon 2012-01-16 19:07:05 +0100 message: Use portable pathname concatenation modified: dashboard_app/extension.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/extension.py' --- dashboard_app/extension.py 2011-11-08 23:59:49 +0000 +++ dashboard_app/extension.py 2012-01-16 18:07:05 +0000 @@ -96,11 +96,11 @@ 'linaro_django_pagination.middleware.PaginationMiddleware') root_dir = os.path.normpath(os.path.join(os.path.dirname(__file__), "..")) settings_module['DATAVIEW_DIRS'] = [ - os.path.join(root_dir, 'examples/views'), - os.path.join(root_dir, 'production/views')] + os.path.join(root_dir, 'examples', 'views'), + os.path.join(root_dir, 'production', 'views')] settings_module['DATAREPORT_DIRS'] = [ - os.path.join(root_dir, 'examples/reports'), - os.path.join(root_dir, 'production/reports')] + os.path.join(root_dir, 'examples', 'reports'), + os.path.join(root_dir, 'production', 'reports')] def contribute_to_settings_ex(self, settings_module, settings_object): settings_module['DATAVIEW_DIRS'] = settings_object._settings.get(