Fixed #8673: fixed a missing import in `django.core.files.move`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5c31c68560
commit
ae953a8c4e
|
@ -11,6 +11,7 @@ from django.core.files import locks
|
|||
try:
|
||||
from shutil import copystat
|
||||
except ImportError:
|
||||
import stat
|
||||
def copystat(src, dst):
|
||||
"""Copy all stat info (mode bits, atime and mtime) from src to dst"""
|
||||
st = os.stat(src)
|
||||
|
|
Loading…
Reference in New Issue