From da91ef8494c42076291d2a02c041980875c87c8e Mon Sep 17 00:00:00 2001 From: jbhntr861 Date: Fri, 10 Mar 2023 08:50:02 +0000 Subject: [PATCH] python3 update beginning to update pyrit to python3 --- pyrit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyrit b/pyrit index a5316a1..be4e596 100755 --- a/pyrit +++ b/pyrit @@ -1,10 +1,10 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 if __name__ == "__main__": import sys import pyrit_cli try: pyrit_cli.Pyrit_CLI().initFromArgv() except (KeyboardInterrupt, SystemExit): - print >>sys.stderr, "\nInterrupted..." - except pyrit_cli.PyritRuntimeError, e: + print("\nInterrupted...", file=sys.stderr) + except pyrit_cli.PyritRuntimeError as e: sys.exit(e)