X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/61c3753c6e0c567ccbb11115c787da22218ab5f6..852ff1985a45be4a885e7b9f96ce7ef0b5d50c96:/apps/compress/versioning/mtime/__init__.py?ds=inline 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 -