NewsBlur/utils/djangocompress/compress/versioning/base.py
2009-09-08 03:37:17 +00:00

13 lines
No EOL
337 B
Python

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