This API is irrelevant in Python 2.5 or later, and not present in newer Python 3.
This commit is contained in:
parent
65159c9961
commit
1ed24a1616
|
@ -22,7 +22,6 @@ def get_local_metadata(path):
|
||||||
metadata = {}
|
metadata = {}
|
||||||
|
|
||||||
# posix stat(2) metadata, depends on the platform
|
# posix stat(2) metadata, depends on the platform
|
||||||
os.stat_float_times(True)
|
|
||||||
s = os.stat(path)
|
s = os.stat(path)
|
||||||
metadata["ctime"] = s.st_ctime
|
metadata["ctime"] = s.st_ctime
|
||||||
metadata["mtime"] = s.st_mtime
|
metadata["mtime"] = s.st_mtime
|
||||||
|
|
Loading…
Reference in New Issue