Skip to content

Commit c30424b

Browse files
committed
fix gitignore and a bug in the Python version
1 parent 040d8cf commit c30424b

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.pyc
2+
*.o

python/ra.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def read(filename):
3535
h = getheader(f)
3636
h['dims'] = h['dims'][::-1]
3737
if h['eltype'] == 0:
38-
print 'Unable to convert user data. Returning raw byte string.'
38+
print('Unable to convert user data. Returning raw byte string.')
3939
return f.read(h['size'])
4040
else:
4141
d = '%s%d' % (dtype_enum_to_name[h['eltype']], h['elbyte']*8)

python/test.py

-16
This file was deleted.

0 commit comments

Comments
 (0)