Show More
@@ -437,4 +437,5 b' test-username-newline.t' | |||||
437 | test-verify.t |
|
437 | test-verify.t | |
438 | test-websub.t |
|
438 | test-websub.t | |
439 | test-win32text.t |
|
439 | test-win32text.t | |
|
440 | test-wireproto-framing.py | |||
440 | test-xdg.t |
|
441 | test-xdg.t |
@@ -510,4 +510,6 b' def parsebool(s):' | |||||
510 | def evalpythonliteral(s): |
|
510 | def evalpythonliteral(s): | |
511 | """Evaluate a string containing a Python literal expression""" |
|
511 | """Evaluate a string containing a Python literal expression""" | |
512 | # We could backport our tokenizer hack to rewrite '' to u'' if we want |
|
512 | # We could backport our tokenizer hack to rewrite '' to u'' if we want | |
|
513 | if pycompat.ispy3: | |||
|
514 | return ast.literal_eval(s.decode('latin1')) | |||
513 | return ast.literal_eval(s) |
|
515 | return ast.literal_eval(s) |
General Comments 0
You need to be logged in to leave comments.
Login now