Mercurial > gnulib
changeset 38980:e2d5a91aea8a
error: GnulibModuleNotFoundError -> UnknownModuleError
author | Dmitry Selyutin <ghostmansd@gmail.com> |
---|---|
date | Tue, 19 Sep 2017 22:38:03 +0300 |
parents | c6cfb43bfb92 |
children | aae454c4f45a |
files | pygnulib/error.py |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/pygnulib/error.py Tue Sep 19 22:36:59 2017 +0300 +++ b/pygnulib/error.py Tue Sep 19 22:38:03 2017 +0300 @@ -67,16 +67,16 @@ -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))