1 |
commit: 348e9759220ef02cefaa80e5b763a32572b15bc3 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 30 02:15:20 2015 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 02:15:20 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=348e9759 |
7 |
|
8 |
catalyst/config.py: Fix an error for x is an integer |
9 |
|
10 |
catalyst/config.py | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/catalyst/config.py b/catalyst/config.py |
14 |
index c952648..67d4e77 100644 |
15 |
--- a/catalyst/config.py |
16 |
+++ b/catalyst/config.py |
17 |
@@ -85,7 +85,7 @@ class ParserBase: |
18 |
# cur_array += mobjs |
19 |
cur_array += myline.split() |
20 |
else: |
21 |
- raise CatalystError("Syntax error: " + x, print_traceback=True) |
22 |
+ raise CatalystError("Syntax error: %s" % x, print_traceback=True) |
23 |
|
24 |
# XXX: Do we really still need this "single value is a string" behavior? |
25 |
if len(cur_array) == 2: |