Changeset - 6e37753fb313
[Not reviewed]
0 1 0
Brett Smith - 5 years ago 2019-08-28 13:39:19
brettcsmith@brettcsmith.org
ledger_entry: Support NEWLINE tokens.

Necessary to run on Python 3.7.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
import2ledger/hooks/ledger_entry.py
Show inline comments
...
 
@@ -43,6 +43,7 @@ class TokenTransformer:
 
        yield (ttype, tvalue)
 

	
 
    transform_ENDMARKER = _noop_transformer
 
    transform_NEWLINE = _noop_transformer
 

	
 
    def transform_ENCODING(self, ttype, tvalue):
 
        self.in_encoding = tvalue
0 comments (0 inline, 0 general)