diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-12-06 02:15:14 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-12-06 02:15:14 +0800 |
commit | 607e510266a990ba9b6e35e6012fa315247e7df1 (patch) | |
tree | 0b1601d03d683e6e84715ffb44724d29651c70eb /graphics/py-opengl | |
parent | b678d07ce167df8b763c3643ead233628f6d3761 (diff) | |
download | freebsd-ports-graphics-607e510266a990ba9b6e35e6012fa315247e7df1.tar.gz freebsd-ports-graphics-607e510266a990ba9b6e35e6012fa315247e7df1.tar.zst freebsd-ports-graphics-607e510266a990ba9b6e35e6012fa315247e7df1.zip |
Fix incompatability with python2.0 in one of the examples.
Diffstat (limited to 'graphics/py-opengl')
-rw-r--r-- | graphics/py-opengl/files/patch-ae | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/py-opengl/files/patch-ae b/graphics/py-opengl/files/patch-ae new file mode 100644 index 00000000000..2fa58b82abf --- /dev/null +++ b/graphics/py-opengl/files/patch-ae @@ -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) |