Skip to content
Snippets Groups Projects
Commit c348d829d23a authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

sidedata: adjust string for python3

This was pointed out by Gregory Szorc: Python 3 will require a r'' because of
source transformation.

Differential Revision: https://phab.mercurial-scm.org/D6968
parent 0f90c2d2d7e8
No related branches found
No related tags found
No related merge requests found
......@@ -49,8 +49,8 @@
SD_TEST7 = 7
# internal format constant
SIDEDATA_HEADER = struct.Struct('>H')
SIDEDATA_ENTRY = struct.Struct('>HL20s')
SIDEDATA_HEADER = struct.Struct(r'>H')
SIDEDATA_ENTRY = struct.Struct(r'>HL20s')
def sidedatawriteprocessor(rl, text, sidedata):
sidedata = list(sidedata.items())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment