Unobtrusive reminder about unsaved changes in document.
[redakcja.git] / apps / compress / versioning / base.py
1 class VersioningBase(object):
2
3     def get_version(self, source_files):
4         raise NotImplementedError
5
6     def needs_update(self, output_file, source_files, version):
7         raise NotImplementedError
8
9
10 class VersioningError(Exception):
11     """
12     This exception is raised when version creation fails
13     """
14     pass