From 1723fb73c42e141b404b8700c49b8a372eec952d Mon Sep 17 00:00:00 2001 From: svlandeg Date: Thu, 10 Sep 2020 17:44:59 +0200 Subject: [PATCH] remove brol --- spacy/cli/_util.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spacy/cli/_util.py b/spacy/cli/_util.py index c539598ef..0755ccb46 100644 --- a/spacy/cli/_util.py +++ b/spacy/cli/_util.py @@ -203,10 +203,6 @@ def get_checksum(path: Union[Path, str]) -> str: msg.fail(f"Can't get checksum for {path}: not a file or directory", exits=1) -def _brol(path): - return str.encode(Path(path).read_text().replace("\r\n", "\n")) - - @contextmanager def show_validation_error( file_path: Optional[Union[str, Path]] = None,