Fix the syntax error in publish_toolstate.py
This commit is contained in:
parent
f47ec2ad5b
commit
d21026e3e0
@ -140,12 +140,12 @@ def update_latest(
|
|||||||
tool, MAINTAINERS.get(tool),
|
tool, MAINTAINERS.get(tool),
|
||||||
relevant_pr_number, relevant_pr_user, pr_reviewer,
|
relevant_pr_number, relevant_pr_user, pr_reviewer,
|
||||||
)
|
)
|
||||||
except IOError as (errno, strerror):
|
except IOError as e:
|
||||||
# network errors will simply end up not creating an issue, but that's better
|
# network errors will simply end up not creating an issue, but that's better
|
||||||
# than failing the entire build job
|
# than failing the entire build job
|
||||||
print "I/O error({0}): {1}".format(errno, strerror)
|
print("I/O error: {0}".format(e))
|
||||||
except:
|
except:
|
||||||
print "Unexpected error:", sys.exc_info()[0]
|
print("Unexpected error: {0}".format(sys.exc_info()[0]))
|
||||||
raise
|
raise
|
||||||
|
|
||||||
if changed:
|
if changed:
|
||||||
|
Loading…
Reference in New Issue
Block a user