jhbuild r2481 - in trunk: . jhbuild
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r2481 - in trunk: . jhbuild
- Date: Sat, 8 Nov 2008 20:28:01 +0000 (UTC)
Author: fpeters
Date: Sat Nov 8 20:28:01 2008
New Revision: 2481
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2481&view=rev
Log:
* jhbuild/moduleset.py: clearer error message on invalid dependency.
Modified:
trunk/ChangeLog
trunk/jhbuild/moduleset.py
Modified: trunk/jhbuild/moduleset.py
==============================================================================
--- trunk/jhbuild/moduleset.py (original)
+++ trunk/jhbuild/moduleset.py Sat Nov 8 20:28:01 2008
@@ -80,7 +80,10 @@
depmod = self.modules.get(modname)
if not depmod:
if not ignore_missing:
- raise UsageError(_('dependent module "%s" not found') % modname)
+ raise UsageError(_(
+ '%(module)s has a dependency on unknown "%(invalid)s" module') % {
+ 'module': all_modules[i].name,
+ 'invalid': modname})
del all_modules[i]
continue
if not depmod in all_modules:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]