X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ed512037294be4940c771290618a392033ba1382..cdd4d20278cbee5a9f11f9f455bff8836410568c:/tools/appveyor-irc-notify.py diff --git a/tools/appveyor-irc-notify.py b/tools/appveyor-irc-notify.py index e4795f0f11..463104f386 100644 --- a/tools/appveyor-irc-notify.py +++ b/tools/appveyor-irc-notify.py @@ -33,7 +33,7 @@ expanded automatically, replaced with a corresponding Appveyor environment varia value. se commas to delineate multiple messages. Modified by Martin Quinson on June 2018: - + - Use OFTC instead of Freenode Example: @@ -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()