From d7262745499649c3104d596aba8099c813b79901 Mon Sep 17 00:00:00 2001 From: Matthew Rajala Date: Fri, 4 Nov 2022 16:30:52 -0400 Subject: [PATCH] added main to script --- myscript.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/myscript.py b/myscript.py index 5eda832..3bc2308 100644 --- a/myscript.py +++ b/myscript.py @@ -1,3 +1,8 @@ import os -os.system('git bisect start c1a4be04b972b6c17db242fc37752ad517c29402 e4cfc6f77ebbe2e23550ddab682316ab4ce1c03c') -os.system('git bisect run python manage.py test') \ No newline at end of file + +def bisect(): + os.system('git bisect start c1a4be04b972b6c17db242fc37752ad517c29402 e4cfc6f77ebbe2e23550ddab682316ab4ce1c03c') + os.system('git bisect run python manage.py test') + +if __name__ == '__main__': + bisect()