File: python3.patch

package info (click to toggle)
vera%2B%2B 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,184 kB
  • sloc: cpp: 10,361; tcl: 921; python: 32; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-09-21
Description: Build with Python3

--- a/src/plugins/python/PythonInterpreter.cpp
+++ b/src/plugins/python/PythonInterpreter.cpp
@@ -133,7 +133,7 @@ void PythonInterpreter::execute(const st
 {
     try
     {
-        PyImport_AppendInittab("vera", initvera);
+        PyImport_AppendInittab("vera", PyInit_vera);
         Py_Initialize();
 
         py::object main_module = py::import("__main__");