Show More
@@ -241,8 +241,15 if pycompat.ispy3: | |||
|
241 | 241 | strfromlocal = unifromlocal |
|
242 | 242 | strmethod = unimethod |
|
243 | 243 | else: |
|
244 | strtolocal = pycompat.identity | |
|
245 | strfromlocal = pycompat.identity | |
|
244 | ||
|
245 | def strtolocal(s): | |
|
246 | # type: (str) -> bytes | |
|
247 | return s | |
|
248 | ||
|
249 | def strfromlocal(s): | |
|
250 | # type: (bytes) -> str | |
|
251 | return s | |
|
252 | ||
|
246 | 253 | strmethod = pycompat.identity |
|
247 | 254 | |
|
248 | 255 | if not _nativeenviron: |
General Comments 0
You need to be logged in to leave comments.
Login now