commit:     348e9759220ef02cefaa80e5b763a32572b15bc3
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 30 02:15:20 2015 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 02:15:20 2015 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=348e9759

catalyst/config.py: Fix an error for x is an integer

 catalyst/config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catalyst/config.py b/catalyst/config.py
index c952648..67d4e77 100644
--- a/catalyst/config.py
+++ b/catalyst/config.py
@@ -85,7 +85,7 @@ class ParserBase:
 #                                      cur_array += mobjs
                                        cur_array += myline.split()
                                else:
-                                       raise CatalystError("Syntax error: " + 
x, print_traceback=True)
+                                       raise CatalystError("Syntax error: %s" 
% x, print_traceback=True)
 
                        # XXX: Do we really still need this "single value is a 
string" behavior?
                        if len(cur_array) == 2:

Reply via email to