File: 0011-Adopt-documentation-path-to-Debian.patch

package info (click to toggle)
bugwarrior 1.8.0-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,280 kB
  • sloc: python: 9,226; makefile: 147
file content (24 lines) | stat: -rw-r--r-- 721 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
24
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Thu, 21 Mar 2024 18:40:30 +0100
Subject: Adopt documentation path to Debian

---
 bugwarrior/config.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/bugwarrior/config.py b/bugwarrior/config.py
index 88790da..c36b9a3 100644
--- a/bugwarrior/config.py
+++ b/bugwarrior/config.py
@@ -113,10 +113,7 @@ def oracle_eval(command):
 
 
 def load_example_rc():
-    fname = os.path.join(
-        os.path.dirname(__file__),
-        'docs/configuration.rst'
-    )
+    fname = '/usr/share/doc/bugwarrior/html/_sources/configuration.rst.txt'
     with open(fname, 'r') as f:
         readme = f.read()
     example = readme.split('.. example')[1][4:]