commit | bc6268ca9a71fe881e0fbb5d8128d91e2da771ac | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Sun Jul 16 02:43:45 2017 -0400 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Sun Jul 16 02:43:45 2017 -0400 |
tree | 26834749752f78b75eae9021cd39bf2f915dccf5 | |
parent | 05beb08a80a625ae7fd0e4845f83003bcc516d0e [diff] |
Remove whitespaces from Python escapes
diff --git a/plyxproto/logicparser.py b/plyxproto/logicparser.py index 0117113..7f67459 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].lstrip('{').rstrip('}')} + p[0] = {'python': p[1].lstrip('{ ').rstrip(' }')} def p_fole_group(self, p): "fole : LPAREN fole RPAREN"