8c2545f

Raise a more accurate exception in git systems for unsupported formats.

offlate/systems/git.py

9696
                translationfiles.append({'filename': yamlpath,
9797
                    'format': TSFormat({'file': path + yamlpath, 'lang': self.lang})})
9898
            else:
99-
                raise Exception('Unsupported file format: {}'.format(resource['file_format']))
99+
                raise UnsupportedFormatException(resource['file_format'])
100100
        return translationfiles
101101
102102
    def clone(self, directory, callback=None):