mirror of
https://github.com/AdaCore/git-hooks.git
synced 2026-02-12 12:43:11 -08:00
The fact that utils.py imports config.py makes it difficult for config.py to access the InvalidUpdate exception. So move this exception to its own package, free of dependencies. Preparation work for LC27-007.
9 lines
168 B
Python
9 lines
168 B
Python
"""Exceptions while processing a reference update...
|
|
"""
|
|
|
|
|
|
class InvalidUpdate(Exception):
|
|
"""An exception raised when the update is not accepted.
|
|
"""
|
|
pass
|