We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9235083 commit 5e4146cCopy full SHA for 5e4146c
1 file changed
ietf/checks.py
@@ -1,3 +1,4 @@
1
+# Copyright The IETF Trust 2015-2019, All Rights Reserved
2
import os
3
import patch
4
import sys
@@ -367,7 +368,7 @@ def maybe_patch_library(app_configs, **kwargs):
367
368
patch_path = os.path.join(cwd, patch_file)
369
patch_set = patch.fromfile(patch_path)
370
if patch_set:
- if not patch_set.apply(root=library_path):
371
+ if not patch_set.apply(root=library_path.encode('utf-8')):
372
errors.append(checks.Warning(
373
"Could not apply patch from file '%s'"%patch_file,
374
hint=("Make sure that the patch file contains a unified diff and has valid file paths\n\n"
0 commit comments