MoinSupport.py | raw changeset files shortlog |
1.1 --- a/MoinSupport.py Sat Dec 01 23:29:40 2012 +0100 1.2 +++ b/MoinSupport.py Mon Dec 03 16:37:04 2012 +0100 1.3 @@ -372,8 +372,10 @@ 1.4 f = StringIO(s) 1.5 name = None 1.6 need_value = False 1.7 + lex = shlex(f) 1.8 + lex.wordchars += "-" 1.9 1.10 - for token in shlex(f): 1.11 + for token in lex: 1.12 1.13 # Capture the name if needed. 1.14