Show More
@@ -30,9 +30,6 from .node import ( | |||
|
30 | 30 | nullrev, |
|
31 | 31 | short, |
|
32 | 32 | ) |
|
33 | from .pycompat import ( | |
|
34 | open, | |
|
35 | ) | |
|
36 | 33 | from .thirdparty import attr |
|
37 | 34 | |
|
38 | 35 | # Force pytype to use the non-vendored package |
@@ -1406,7 +1403,7 def makefileobj(ctx, pat, mode=b'wb', ** | |||
|
1406 | 1403 | fp = repo.ui.fin |
|
1407 | 1404 | return _unclosablefile(fp) |
|
1408 | 1405 | fn = makefilename(ctx, pat, **props) |
|
1409 | return open(fn, mode) | |
|
1406 | return open(fn, pycompat.sysstr(mode)) | |
|
1410 | 1407 | |
|
1411 | 1408 | |
|
1412 | 1409 | def openstorage(repo, cmd, file_, opts, returnrevlog=False): |
General Comments 0
You need to be logged in to leave comments.
Login now