[jhbuild] autotools: fix error message for tag missing a value attribute



commit 5dbd238b5b5991d396c08949bdf4883161499100
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat Mar 1 19:38:25 2014 +0100

    autotools: fix error message for tag missing a value attribute

 jhbuild/modtypes/autotools.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index b8e7eea..69e11c8 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -402,7 +402,7 @@ def collect_args(instance, node, argtype):
     for child in node.childNodes:
         if child.nodeType == child.ELEMENT_NODE and child.nodeName == argtype:
             if not child.hasAttribute('value'):
-                raise FatalError(_("<%s/> tag must contain value=''"), argtype)
+                raise FatalError(_("<%s/> tag must contain value=''") % argtype)
             args += ' ' + child.getAttribute('value')
 
     return instance.eval_args(args)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]