From dee9e776f1d6363c423f137310c7dc79bab322ed Mon Sep 17 00:00:00 2001 From: Puru Sharma <81963842+purusharmadte@users.noreply.github.com> Date: Tue, 24 Sep 2024 17:27:07 +0530 Subject: [PATCH] Update cli.py replace raw_input as a input because in above 3.5 python version has this function --- src/gitsweep/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gitsweep/cli.py b/src/gitsweep/cli.py index 6b995b5..4638951 100644 --- a/src/gitsweep/cli.py +++ b/src/gitsweep/cli.py @@ -142,7 +142,7 @@ def _sweep(self): if not args.force: sys.stdout.write('\nDelete these branches? (y/n) ') - answer = raw_input() + answer = input() if args.force or answer.lower().startswith('y'): sys.stdout.write('\n') for ref in ok_to_delete: