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: