Skip to content

Commit f18a976

Browse files
authored
Update _impl.pyx
1 parent cc7ae5f commit f18a976

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

netfilterqueue/_impl.pyx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,18 +153,11 @@ cdef class Packet:
153153

154154
cpdef bytes get_payload(self):
155155
"""Return payload as Python string."""
156-
print('-----------------')
157-
for k, v in self.__dict__.items():
158-
print(k,v)
159-
print('----------------')
160156
if self._given_payload:
161-
print('Given!')
162157
return self._given_payload
163158
elif self._owned_payload:
164-
print('Owned!')
165159
return self._owned_payload
166160
elif self.payload != NULL:
167-
print('Payload!')
168161
return self.payload[:self.payload_len]
169162
elif self.payload_len == 0:
170163
raise RuntimeError(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy