From 1df9b3e8cba6a31489553bbc665297cade872cc2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 22 Apr 2020 12:53:27 +0200 Subject: [PATCH] Drop the interative console Signed-off-by: Pierre-Yves Chibon --- mirror_from_pagure.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/mirror_from_pagure.py b/mirror_from_pagure.py index 51bc14b..f91938d 100644 --- a/mirror_from_pagure.py +++ b/mirror_from_pagure.py @@ -89,12 +89,4 @@ def run(): if __name__ == "__main__": - try: - main() - except KeyboardInterrupt: - from code import InteractiveConsole - - InteractiveConsole(locals={"s": s}).interact( - "ENTERING THE DEBUG CONSOLE:\n s is the scheduler\n ^d to quit", - "LEAVING THE DEBUG CONSOLE", - ) + main()