X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/197fc570be54152c90c424379a00b36e28e0cf79..61c3753c6e0c567ccbb11115c787da22218ab5f6:/apps/compress/versioning/base.py?ds=sidebyside diff --git a/apps/compress/versioning/base.py b/apps/compress/versioning/base.py new file mode 100644 index 00000000..8b815196 --- /dev/null +++ b/apps/compress/versioning/base.py @@ -0,0 +1,13 @@ +class VersioningBase(object): + + def get_version(self, source_files): + raise NotImplementedError + + def needs_update(self, output_file, source_files, version): + raise NotImplementedError + +class VersioningError(Exception): + """ + This exception is raised when version creation fails + """ + pass \ No newline at end of file