* End of javascript refactoring: both editors, history and gallery work as expected.
[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 class VersioningError(Exception):
10     """
11     This exception is raised when version creation fails
12     """
13     pass