File: static-path.patch

package info (click to toggle)
loggerhead 2.0.1%2Bbzr548-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,036 kB
  • sloc: python: 4,589; javascript: 534; sh: 113; makefile: 94
file content (15 lines) | stat: -rw-r--r-- 622 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
=== modified file 'loggerhead/apps/__init__.py'
Index: breezy-unstable/loggerhead/apps/__init__.py
===================================================================
--- breezy-unstable.orig/loggerhead/apps/__init__.py
+++ breezy-unstable/loggerhead/apps/__init__.py
@@ -6,8 +6,7 @@ from paste import urlparser, fileapp
 
 from ..util import convert_file_errors
 
-static = os.path.join(
-    os.path.dirname(os.path.dirname(__file__)), 'static')
+static = '/usr/share/loggerhead-breezy/static'
 
 # Static things can be cached for half a day, we could probably make this
 # longer, except for just before rollout times.