##// END OF EJS Templates
py3: make sure we open file in bytes mode...
Pulkit Goyal -
r37594:6ef94f24 default
parent child Browse files
Show More
@@ -579,7 +579,7 b' def importfromfiles(repo, opts, paths, f'
579 579 # part of the active rules.
580 580 changed = False
581 581 for p in paths:
582 with util.posixfile(util.expandpath(p)) as fh:
582 with util.posixfile(util.expandpath(p), mode='rb') as fh:
583 583 raw = fh.read()
584 584
585 585 iincludes, iexcludes, iprofiles = parseconfig(repo.ui, raw)
General Comments 0
You need to be logged in to leave comments. Login now