File: fix-ftbfs.patch

package info (click to toggle)
pyqso 1.1.0-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,848 kB
  • sloc: python: 4,227; makefile: 151; sh: 18
file content (16 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Daniele Forsi <iu5hkx@gmail.com>
Date: Mon, 1 Nov 2021 18:43:06 +0100
Subject: Remove unneeded print with Python 2 syntax

Fixes: FTBFS: There is a syntax error in your configuration file: invalid syntax (conf.py, line 21)
Closes bug #997760
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -18,7 +18,6 @@
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
-print os.path.abspath(".")
 sys.path.insert(0, os.path.abspath('../../'))
 
 # -- General configuration ------------------------------------------------