Kaydet (Commit) 398bc765 authored tarafından Martin Panter's avatar Martin Panter

Issue #28666: Fix stat import

üst b9999158
......@@ -8,6 +8,7 @@ import errno
import functools
import gc
import socket
import stat
import sys
import os
import platform
......@@ -248,7 +249,6 @@ else:
_rmdir = os.rmdir
def _rmtree(path):
import stat
try:
shutil.rmtree(path)
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment