mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
Fix incompatability with python2.0 in one of the examples.
This commit is contained in:
parent
a92bd00163
commit
a6463edb68
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35695
1 changed files with 11 additions and 0 deletions
11
graphics/py-opengl/files/patch-ae
Normal file
11
graphics/py-opengl/files/patch-ae
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- py/Demo/dek/OglSurface/NumericPDB.py 2000/12/04 21:16:08 1.1
|
||||
+++ py/Demo/dek/OglSurface/NumericPDB.py 2000/12/04 21:16:33
|
||||
@@ -90,7 +90,7 @@
|
||||
z = string.atof(string.strip(line[47:54]))
|
||||
|
||||
self.records.append(PDBRecord(type, anum, atom, residue, chain, rnum))
|
||||
- self.crds.append(x,y,z)
|
||||
+ self.crds.append((x,y,z))
|
||||
|
||||
|
||||
self.crds = Numeric.array(self.crds)
|
Loading…
Add table
Reference in a new issue