This commit is contained in:
aozhiwei 2019-01-31 14:12:33 +08:00
parent ff98a53f9e
commit 8b144b79b9

View File

@ -15,7 +15,7 @@ def publish_project(project, tag):
} }
post_data = urllib.parse.urlencode(post_data).encode('ascii') post_data = urllib.parse.urlencode(post_data).encode('ascii')
req = urllib.request.Request(PUBLISH_URL) req = urllib.request.Request(PUBLISH_URL)
data = urllib.request.urlopen(req, post_data).readall() data = urllib.request.urlopen(req, post_data).read()
print(data) print(data)
parser = OptionParser(usage="%prog [options]") parser = OptionParser(usage="%prog [options]")