diff options
Diffstat (limited to 'Tools/scripts/treesync.py')
-rwxr-xr-x | Tools/scripts/treesync.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/scripts/treesync.py b/Tools/scripts/treesync.py index ab9324b..4fb1798 100755 --- a/Tools/scripts/treesync.py +++ b/Tools/scripts/treesync.py @@ -187,6 +187,11 @@ def copy(src, dst, rmode="rb", wmode="wb", answer='ask'): f.close() g.close() +def raw_input(prompt): + sys.stdout.write(prompt) + sys.stdout.flush() + return sys.stdin.readline() + def okay(prompt, answer='ask'): answer = answer.strip().lower() if not answer or answer[0] not in 'ny': |