File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2020
2121def check_copyright (files ):
2222 for file in files :
23- contents = file .read_text ()
23+ contents = file .read_text (encoding = "utf-8" )
2424 if not contents .strip ():
2525 # Don't add headers to empty files
2626 continue
@@ -42,7 +42,7 @@ def check_copyright(files):
4242 if not contents .endswith ("\n " ):
4343 contents += "\n "
4444 if original_contents != contents :
45- file .write_text (contents )
45+ file .write_text (contents , encoding = "utf-8" )
4646
4747
4848def inject_copyright_header (contents ):
Original file line number Diff line number Diff line change 350350 },
351351 "krb5" : {
352352 "1.22.2" : {
353- "url" : " https://kerberos.org/dist/krb5/{version} /krb5-{version}.tar.gz" ,
353+ "url" : " https://kerberos.org/dist/krb5/1.22 /krb5-{version}.tar.gz" ,
354354 "sha256" : " 3243ffbc8ea4d4ac22ddc7dd2a1dc54c57874c40648b60ff97009763554eaf13" ,
355355 "platforms" : [
356356 " linux"
You can’t perform that action at this time.
0 commit comments