Skip to content

Migrate to Python 3 - #45

Open
slokhorst wants to merge 2 commits into
hvanderlaan:masterfrom
slokhorst:py3
Open

Migrate to Python 3#45
slokhorst wants to merge 2 commits into
hvanderlaan:masterfrom
slokhorst:py3

Conversation

@slokhorst

Copy link
Copy Markdown

Changes:

  • Recommend the official obgm/libcoap fork, which has dtls support
  • use coap-client from PATH instead of hard-coded /usr/local/bin/coap-client
  • os.popen() -> subprocess.check_output(): this also checks for nonzero return code, for instance if the coap executable isn't found (no need to manually check)
  • ConfigParser -> configparser
  • raw_input() -> input()

@mgrojo

mgrojo commented Aug 27, 2024

Copy link
Copy Markdown

@hvanderlaan I can confirm this pull request is working for me. Well, in fact, this other second pull request is the good updated one: slokhorst#1

I think it would be nice to merge everything back in your original repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants