diff mbox

[Branch,~linaro-validation/lava-dashboard/trunk] Rev 292: Use portable pathname concatenation

Message ID 20120119120813.25601.69113.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Zygmunt Krynicki Jan. 19, 2012, 12:08 p.m. UTC
------------------------------------------------------------
revno: 292
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
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
diff mbox

Patch

=== 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(