aboutsummaryrefslogtreecommitdiff
path: root/steuermann/specfile.exy
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2016-07-03 19:06:34 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2016-07-03 19:06:34 -0400
commitfefddcdd0fad41abf2e2897c13a3b0679c17c7ce (patch)
tree0d0dba3e6f60eaab3201fce19bacbd4e0362ff9a /steuermann/specfile.exy
parent51fab76b9065df22691dfb010905bdc33f81884f (diff)
downloadsteuermann-fefddcdd0fad41abf2e2897c13a3b0679c17c7ce.tar.gz
Fix python 3k compat.
Diffstat (limited to 'steuermann/specfile.exy')
-rw-r--r--steuermann/specfile.exy4
1 files changed, 2 insertions, 2 deletions
diff --git a/steuermann/specfile.exy b/steuermann/specfile.exy
index 346ee20..4c65a07 100644
--- a/steuermann/specfile.exy
+++ b/steuermann/specfile.exy
@@ -51,7 +51,7 @@ parser specfile:
##
#
rule table_section:
- DEBUG string {{ print "-->debug: %s"%string }}
+ DEBUG string {{ print("-->debug: %s"%string) }}
| hostgroup_def
| CONDITIONS {{ nodes.declare_conditions( CONDITIONS, self._scanner.filename ) }}
| TABLE tablename {{ table_name = tablename }} HOST {{ hostlist = [ ] }}
@@ -141,7 +141,7 @@ parser specfile:
)
{{ rl[name] = ans }}
) *
- {{ print rl ; return rl }}
+ {{ print(rl) ; return rl }}
##
# in the AFTER clause, you can say OPT to mean the node is optional (not an error if it does not exist)