Skip to content

Commit 861ff82

Browse files
authored
Merge pull request finos#2 from gyorokpeter/protocolV6
remove debug / drop support for python 2.7
2 parents 6515990 + f4ea59f commit 861ff82

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
15+
python-version: [3.5, 3.6, 3.7, 3.8]
1616

1717
steps:
1818
- uses: actions/checkout@v2

‎qpython/fastutils.pyx‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,10 @@ def uncompress(numpy.ndarray[DTYPE8_t] data, DTYPE_t uncompressed_size):
3232
cdef numpy.ndarray[DTYPE8_t] uncompressed = numpy.zeros(uncompressed_size, dtype = numpy.uint8)
3333

3434
f = 0xff & data[0]
35-
curr=0
36-
step=10000000
3735

3836
while s < uncompressed_size:
3937
pp = p + 1
4038

41-
if s>=curr:
42-
print("{}/{}".format(s,uncompressed_size))
43-
curr+=step
44-
4539
if f & i:
4640
r = ptrs[data[d]]
4741
n = 2 + data[d + 1]

0 commit comments

Comments
 (0)