scripts/release-notes.py: fix it up to work on Python 3.

This commit is contained in:
David Wilson 2021-02-02 12:13:09 +00:00
parent 59716a8788
commit 091ae234fc
1 changed files with 2 additions and 2 deletions

View File

@ -4,13 +4,13 @@
# usage: release-notes.py 0.2.6
import sys
import urllib
import urllib.request
import lxml.html
import subprocess
response = urllib.urlopen('https://mitogen.networkgenomics.com/changelog.html')
response = urllib.request.urlopen('https://mitogen.networkgenomics.com/changelog.html')
tree = lxml.html.parse(response)
prefix = 'v' + sys.argv[1].replace('.', '-')