From 349886fe322bac512c25392e3b052d5aa76fe7ec Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 19 Sep 2017 22:38:03 +0300 Subject: [PATCH] error: GnulibModuleNotFoundError -> UnknownModuleError --- pygnulib/error.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pygnulib/error.py b/pygnulib/error.py index 25baf53ced..0874a342d8 100644 --- a/pygnulib/error.py +++ b/pygnulib/error.py @@ -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))