mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
patch: make regular expressions bytes by adding b''
This commit is contained in:
parent
dbc47c9005
commit
dbbae871d3
@ -42,8 +42,8 @@ from . import (
|
||||
)
|
||||
stringio = util.stringio
|
||||
|
||||
gitre = re.compile('diff --git a/(.*) b/(.*)')
|
||||
tabsplitter = re.compile(r'(\t+|[^\t]+)')
|
||||
gitre = re.compile(br'diff --git a/(.*) b/(.*)')
|
||||
tabsplitter = re.compile(br'(\t+|[^\t]+)')
|
||||
|
||||
class PatchError(Exception):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user