mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-02 02:35:24 +02:00
scripts: add python3 compatibility for the bot
This commit is contained in:
parent
0476a38556
commit
fae6737841
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ def post_comment(pr_id, comment_body):
|
||||||
# Making the request
|
# Making the request
|
||||||
f = urllib2.urlopen(req)
|
f = urllib2.urlopen(req)
|
||||||
if f.getcode() != 200:
|
if f.getcode() != 200:
|
||||||
print f.read()
|
print(f.read())
|
||||||
|
|
||||||
|
|
||||||
# Get the environment variables
|
# Get the environment variables
|
||||||
|
|
Loading…
Add table
Reference in a new issue