You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-physics/lammps/files/lammps-python3.patch

12 lines
509 B

--- lammps-11Apr15/python/lammps.py 2015-03-13 16:06:20.000000000 -0600
+++ lammps-11Apr15-new/python/lammps.py 2015-04-13 09:40:43.000000000 -0600
@@ -28,7 +28,7 @@
except:
type,value,tb = sys.exc_info()
traceback.print_exception(type,value,tb)
- raise OSError,"Could not load LAMMPS dynamic library"
+ raise OSError("Could not load LAMMPS dynamic library")
# if no ptr provided, create an instance of LAMMPS
# don't know how to pass an MPI communicator from PyPar