]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport:
authorGuido van Rossum <guido@python.org>
Wed, 14 Jul 2004 00:48:02 +0000 (00:48 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 14 Jul 2004 00:48:02 +0000 (00:48 +0000)
commit292b643ea7c4420950ec986c6b0856a13219b1e2
tree154fab3a7b0e929fccb9a3a08b7fc27d54ae8438
parente2f81fd1b8846a3186f6946012791464ae90775a
Backport:

- Bug #981530: Fix UnboundLocalError in shutil.rmtree().  This affects
  the documented behavior: the function passed to the onerror()
  handler can now also be os.listdir.

[I could've sworn I checked this in, but apparently I didn't, or it
got lost???]
Lib/shutil.py
Lib/test/test_shutil.py