File: 0003-Improve-Python3-compatibility.patch

package info (click to toggle)
python-pyepics 3.4.1%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,080 kB
  • sloc: python: 11,184; makefile: 106; javascript: 104; sh: 1
file content (21 lines) | stat: -rw-r--r-- 660 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Roland Mas <lolando@debian.org>
Date: Tue, 28 Sep 2021 19:35:05 +0200
Subject: Improve Python3 compatibility

---
 doc/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index e50affe..5ea3c2f 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -59,7 +59,7 @@ try:
 except ImportError:
     release = '3.X.Y'
 
-print 'Building Docs for EPICS version %s / Python version %s ' % (release, sys.version)
+print ('Building Docs for EPICS version %s / Python version %s ' % (release, sys.version))
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.