Commit 51e4b340 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5438d55d
......@@ -160,13 +160,13 @@ def main():
plen = dh.plen
if plen == 0:
rawdata = p64(dh.back) # back-pointer or 0 (= delete)
data = "[]byte(%s)" % escapeqq(drec.data) # XXX vs .data = None ?
data = "/* from %s */ []byte(%s)" % (hex64(drec.data_txn), escapeqq(drec.data)) # XXX vs .data = None ?
else:
rawdata = drec.data
data = "nil"
data = "/* same as ^^^ */ nil"
emit("\t\t\t\t[]byte(%s)," % escapeqq(rawdata))
emit("\t\t\t\t%s /* same as ^^^ */," % data)
emit("\t\t\t\t%s," % data)
emit("\t\t\t},")
emit("\t\t},")
......
This diff is collapsed.
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