Skip to content

Commit

Permalink
remove print() functions i previously added accidentally
Browse files Browse the repository at this point in the history
sorry about that ! that was just for debugging, i guess !
  • Loading branch information
jquast committed May 1, 2023
1 parent 2eaf580 commit abb65d3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions xmodem/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,17 +766,13 @@ def runx():
def _func(so, si):
import select

print(('si', si))
print(('so', so))

def getc(size, timeout=3):
read_ready, _, _ = select.select([so], [], [], timeout)
if read_ready:
data = so.read(size)
else:
data = None

print(('getc(', repr(data), ')'))
return data

def putc(data, timeout=3):
Expand All @@ -788,7 +784,6 @@ def putc(data, timeout=3):
else:
size = None

print(('putc(', repr(data), repr(size), ')'))
return size

return getc, putc
Expand Down

0 comments on commit abb65d3

Please sign in to comment.