gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r957107 - /gump/trunk/python/gump/core/model/project.py
Date Wed, 23 Jun 2010 04:33:45 GMT
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])



Mime
View raw message