]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32155: Bugfixes found by flake8 F841 warnings (#4619)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 28 Nov 2017 22:04:12 +0000 (23:04 +0100)
committerGitHub <noreply@github.com>
Tue, 28 Nov 2017 22:04:12 +0000 (23:04 +0100)
commit6979fcdc91114b1ccb16345e26734d6df4cccbc3
treec1882e330ea0efcdceb2937c7865fb29acc9b066
parent5f6d2bb8cfd099733e95e9fabdf72d3da3d5c13a
bpo-32155: Bugfixes found by flake8 F841 warnings (#4619)

* turtledemo: wait until macOS osascript command completes to not
  create a zombie process
* Tools/scripts/treesync.py: declare 'default_answer' and
  'create_files' as globals to modify them with the command line
  arguments. Previously, -y, -n, -f and -a options had no effect.

flake8 warning: "F841 local variable 'p' is assigned to but never
used".
Lib/turtledemo/__main__.py
Tools/scripts/treesync.py