mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-10-03 23:58:33 +00:00
error: GnulibModuleNotFoundError -> UnknownModuleError
This commit is contained in:
+8
-8
@@ -67,16 +67,16 @@ class M4BaseMismatchError(Exception):
|
||||
|
||||
|
||||
|
||||
class GnulibModuleNotFoundError(Exception):
|
||||
"""module not found"""
|
||||
def __init__(self, name):
|
||||
fmt = "module not found: {0}"
|
||||
super().__init__(fmt.format(name))
|
||||
|
||||
|
||||
|
||||
class UnknownLicenseError(Exception):
|
||||
"""module lacks a license"""
|
||||
def __init__(self, module):
|
||||
fmt = "module lacks a license: {0}"
|
||||
super().__init__(fmt.format(module))
|
||||
|
||||
|
||||
|
||||
class UnknownModuleError(Exception):
|
||||
"""unknown gnulib module"""
|
||||
def __init__(self, name):
|
||||
fmt = "unknown gnulib module: {0}"
|
||||
super().__init__(fmt.format(name))
|
||||
|
||||
Reference in New Issue
Block a user