Univention Bugzilla – Bug 23071
Anzeige von problematischen Repository-prefixen in der Fehlermeldung
Last modified: 2018-04-14 13:51:39 CEST
Es wäre nett wenn univention-updater bei fehlerhaften Prefixeinstellungen den Prefix in der Fehlermeldung auch nennt. Index: univention-updater/modules/univention/updater/tools.py =================================================================== --- univention-updater/modules/univention/updater/tools.py (Revision 25565) +++ univention-updater/modules/univention/updater/tools.py (Arbeitskopie) @@ -1119,7 +1119,7 @@ assert server.access('') except DownloadError, e: uri, code = e - raise ConfigurationError(uri, 'non-existing prefix') + raise ConfigurationError(uri, 'non-existing prefix %s' % prefix) except ConfigurationError, e: if self.check_access: raise
modules/univention/updater/tools.py: raise ConfigurationError(uri, 'non-existing prefix "%s": %s' % (self.repository_prefix, uri)) modules/univention/updater/tools.py: raise ConfigurationError(uri, 'non-existing component prefix: %s' % (str(uri)))