Commit b542beeb authored by Kirill Smelkov's avatar Kirill Smelkov

X fstail tests pass

parent fd39ac92
...@@ -49,7 +49,6 @@ func pyQuoteBytes(b []byte) []byte { ...@@ -49,7 +49,6 @@ func pyQuoteBytes(b []byte) []byte {
buf := make([]byte, 0, len(s)) buf := make([]byte, 0, len(s))
buf = append(buf, '\'') buf = append(buf, '\'')
fmt.Printf("QUOTE %q\n", s)
for i, r := range s { for i, r := range s {
if r == utf8.RuneError { if r == utf8.RuneError {
buf = append(buf, []byte(fmt.Sprintf("\\x%0x", s[i]))...) buf = append(buf, []byte(fmt.Sprintf("\\x%0x", s[i]))...)
...@@ -58,7 +57,6 @@ func pyQuoteBytes(b []byte) []byte { ...@@ -58,7 +57,6 @@ func pyQuoteBytes(b []byte) []byte {
rq = rq[1:len(rq)-1] // "\x01" rq = rq[1:len(rq)-1] // "\x01"
buf = append(buf, rq...) buf = append(buf, rq...)
} }
fmt.Printf("%d %q\t%q\n", i, r, buf)
} }
buf = append(buf, '\'') buf = append(buf, '\'')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment