File: template_dir-Use-folder-from-the-Debian-package.patch

package info (click to toggle)
pastedeploy 3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 464 kB
  • sloc: python: 1,236; makefile: 106; sh: 17
file content (23 lines) | stat: -rw-r--r-- 792 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Thu, 8 Oct 2015 10:08:41 -0700
Subject: template_dir: Use folder from the Debian package

Set the variable _template_dir to an absolute patch which pints to the
folder from the Debian binary package.

Forwarded: Not-Needed
---
 src/paste/deploy/paster_templates.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/paste/deploy/paster_templates.py
+++ b/src/paste/deploy/paster_templates.py
@@ -6,7 +6,7 @@ from paste.script.templates import Templ
 
 
 class PasteDeploy(Template):
-    _template_dir = 'paster_templates/paste_deploy'
+    _template_dir = '/usr/share/paster_templates/paste_deploy'
     summary = "A web application deployed through paste.deploy"
 
     egg_plugins = ['PasteDeploy']