Skip to content

Commit

Permalink
Merge eb72633 into 006a01a
Browse files Browse the repository at this point in the history
  • Loading branch information
jGaboardi committed Jan 21, 2019
2 parents 006a01a + eb72633 commit 51296cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pysal/lib/io/util/shapefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _unpackDict2(d, structure, fileObj):
for name, dtype, order in structure:
dtype, n = dtype
result = array.array(dtype)
result.fromstring(fileObj.read(result.itemsize * n))
result.frombytes(fileObj.read(result.itemsize * n))
if order != SYS_BYTE_ORDER:
result.byteswap()
d[name] = result.tolist()
Expand Down
1 change: 0 additions & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
nose
nose-progressive
nose-exclude
coverage
sphinx>=1.4.3
sphinxcontrib-napoleon
Expand Down

0 comments on commit 51296cc

Please sign in to comment.