commit | 05beb08a80a625ae7fd0e4845f83003bcc516d0e | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Sun Jul 16 02:23:31 2017 -0400 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Sun Jul 16 02:23:31 2017 -0400 |
tree | 307ac3040f52c77b4cb8392477845f83cfc598a0 | |
parent | b934f7267c2475b3608ff466dd5d11b5b78a0471 [diff] |
Dropped braces from python injection
diff --git a/plyxproto/logicparser.py b/plyxproto/logicparser.py index d98b754..0117113 100644 --- a/plyxproto/logicparser.py +++ b/plyxproto/logicparser.py
@@ -84,7 +84,7 @@ def p_term_python(self, p): '''term : ESCAPE''' - p[0] = {'python': p[1]} + p[0] = {'python': p[1].lstrip('{').rstrip('}')} def p_fole_group(self, p): "fole : LPAREN fole RPAREN"