Change github-remove shebang to python3 (#11753)

This commit is contained in:
Tony Murray
2020-06-01 11:24:49 -05:00
committed by GitHub
parent 585a658f08
commit ee7fa1e1cb

View File

@ -1,12 +1,13 @@
#! /usr/bin/env python
#! /usr/bin/env python3
import argparse, datetime, sys, subprocess
from subprocess import call, Popen
from os.path import dirname, abspath
raw_input = getattr(__builtins__, 'raw_input', input)
def confirm(question):
valid = {"yes":True, "y":True, "ye":True, "no":False, "n":False}
valid = {"yes": True, "y": True, "ye": True, "no": False, "n": False}
while 1:
sys.stdout.write(question + " [y/N] ")
choice = raw_input().lower()