X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4c8cdcc7c2a4629350cbc3d61f36d63c5bbd4341..501196fba8269024636b011851ce7ea63d7696c9:/tools/appveyor-irc-notify.py diff --git a/tools/appveyor-irc-notify.py b/tools/appveyor-irc-notify.py index 84b70b7f4c..463104f386 100644 --- a/tools/appveyor-irc-notify.py +++ b/tools/appveyor-irc-notify.py @@ -62,7 +62,11 @@ in Appveyor's YAML: """ -import random, socket, ssl, sys, time +import random +import socket +import ssl +import sys +import time def appveyor_vars(): @@ -170,7 +174,7 @@ if __name__ == '__main__': # leave the channel irc_sock.send('PART #{}\r\n'.format(channel).encode('utf_8')) sys.exit() - except: + except BaseException: e = sys.exc_info()[0] print(e) sys.exit()