X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/61c3753c6e0c567ccbb11115c787da22218ab5f6..967fdef6857fca9cddd9d18bcba97e75e66a2927:/apps/compress/versioning/mtime/__init__.py?ds=sidebyside diff --git a/apps/compress/versioning/mtime/__init__.py b/apps/compress/versioning/mtime/__init__.py index 31b9d0b9..010aba9a 100644 --- a/apps/compress/versioning/mtime/__init__.py +++ b/apps/compress/versioning/mtime/__init__.py @@ -3,6 +3,7 @@ import os from compress.utils import get_output_filename, media_root from compress.versioning.base import VersioningBase + class MTimeVersioning(VersioningBase): def get_version(self, source_files): @@ -16,4 +17,3 @@ class MTimeVersioning(VersioningBase): compressed_file_full = media_root(output_file_name) return (int(os.stat(compressed_file_full).st_mtime) < int(version)), version -