1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-01-07 13:47:54 +01:00

Remove unused function

This commit is contained in:
Sergio Kef 2020-04-23 20:38:24 +02:00
parent e58f3a61fe
commit 4a95f62d1d
2 changed files with 0 additions and 10 deletions

View File

@ -1,9 +1,7 @@
#!/usr/bin/env python
# coding: utf-8
import errno
import os
from youtube_dl.compat import compat_st_mtime
from youtube_dl.utils import locked_file

View File

@ -2978,14 +2978,6 @@ else:
return ctypes.WINFUNCTYPE(*args, **kwargs)
def compat_st_mtime(path):
""" Py3 has nanosecond accuracy on modification time of file """
try:
return os.stat(path).st_mtime_ns
except ImportError:
return os.stat(path).st_mtime
__all__ = [
'compat_HTMLParseError',
'compat_HTMLParser',