You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by bo...@apache.org on 2010/06/23 06:33:45 UTC

svn commit: r957107 - /gump/trunk/python/gump/core/model/project.py

Author: bodewig
Date: Wed Jun 23 04:33:44 2010
New Revision: 957107

URL: http://svn.apache.org/viewvc?rev=957107&view=rev
Log:
fix error message so bad patterns don't kill the build

Modified:
    gump/trunk/python/gump/core/model/project.py

Modified: gump/trunk/python/gump/core/model/project.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/model/project.py?rev=957107&r1=957106&r2=957107&view=diff
==============================================================================
--- gump/trunk/python/gump/core/model/project.py (original)
+++ gump/trunk/python/gump/core/model/project.py Wed Jun 23 04:33:44 2010
@@ -295,7 +295,7 @@ class Project(NamedModelObject, Statable
                 count = len(expansions)
                 if count > 1:
                     self.changeState(STATE_FAILED, REASON_MISSING_OUTPUTS)
-                    self.addError(path + " matched " + count + "  files.")
+                    self.addError("%s matched %d files." % (path, count))
                 elif count == 1:
                     log.debug("replacing " + path + " with " + expansions[0])
                     output.setPath(expansions[0])