Show More
@@ -236,8 +236,8 b' def _hashignore(ignore):' | |||||
236 |
|
236 | |||
237 | """ |
|
237 | """ | |
238 | sha1 = hashlib.sha1() |
|
238 | sha1 = hashlib.sha1() | |
239 | sha1.update(repr(ignore)) |
|
239 | sha1.update(pycompat.byterepr(ignore)) | |
240 | return sha1.hexdigest() |
|
240 | return pycompat.sysbytes(sha1.hexdigest()) | |
241 |
|
241 | |||
242 |
|
242 | |||
243 | _watchmanencoding = pywatchman.encoding.get_local_encoding() |
|
243 | _watchmanencoding = pywatchman.encoding.get_local_encoding() |
General Comments 0
You need to be logged in to leave comments.
Login now