[riot-notifications] [RIOT] dist: make ng_sniffer.py more pythonic (#3151)

Joakim Gebart notifications at github.com
Thu Jun 4 12:07:44 CEST 2015


@authmillenon 
>But pack works a little different in python3 (returning bytes instead of str) which requires me to encode the result as string to put it out.

I don't understand what you mean, does it not work in python3 right now?

I use pack all the time in python3 for writing to file using outfile.write(bytes) and I don't remember having to do anything special to get it working..

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3151#issuecomment-108821976
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150604/7c74cf88/attachment.html>


More information about the notifications mailing list