diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/pyvtk/files | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pyvtk/files')
-rw-r--r-- | dev-python/pyvtk/files/pyvtk-0.4.74.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-python/pyvtk/files/pyvtk-0.4.74.patch b/dev-python/pyvtk/files/pyvtk-0.4.74.patch deleted file mode 100644 index 651c1f5ec37c..000000000000 --- a/dev-python/pyvtk/files/pyvtk-0.4.74.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- PyVTK-0.4.74/lib/__init__.py 2003-04-07 16:56:08.000000000 +0200 -+++ PyVTK-0.4.74/lib/__init__.py 2008-12-03 18:08:35.000000000 +0100 -@@ -202,7 +202,7 @@ - #print 'Reading file',`filename` - f = open(filename,'rb') - l = f.readline() -- if not l.strip().replace(' ','').lower() == '#vtkdatafileversion2.0': -+ if not l.strip()[-3:] == '1.0' and not l.strip()[-3:] == '2.0' and not l.strip()[-3:] == '3.0': - raise TypeError, 'File '+`filename`+' is not VTK 2.0 format' - self.header = f.readline().rstrip() - format = f.readline().strip().lower() -@@ -222,7 +222,7 @@ - for i in range(2): - if only_structure: break - if not l: break -- l = [s.strip() for s in l.lower().split(' ')] -+ l = [s.strip() for s in l.lower().split()] - assert len(l)==2 and l[0] in ['cell_data','point_data'], l[0] - data = l[0] - n = eval(l[1]) |