File: python3.12.patch

package info (click to toggle)
siconos 4.4.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 78,600 kB
  • sloc: cpp: 160,976; ansic: 129,998; fortran: 33,051; python: 20,958; xml: 1,244; sh: 385; makefile: 318
file content (15 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Just remove unneeded `import imp` to gain Python3.12 compatibility
Bug-Debian: https://bugs.debian.org/1061843
Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 20 Feb 2024 20:33:33 +0100

--- a/io/swig/io/FrictionContactTrace.py
+++ b/io/swig/io/FrictionContactTrace.py
@@ -38,7 +38,6 @@ except :
     has_fclib=False
     print("No module named siconos.fclib.")
 
-import imp
 import sys
 import time
 import getopt