diff hgext/absorb.py @ 43115:4aa72cdf616f

py3: delete b'' prefix from safehasattr arguments Differential Revision: https://phab.mercurial-scm.org/D7029
author Martin von Zweigbergk <martinvonz@google.com>
date Sun, 06 Oct 2019 20:17:41 -0700
parents 649d3ac37a12
children 236cec445be2
line wrap: on
line diff
--- a/hgext/absorb.py	Tue Oct 08 19:35:30 2019 -0700
+++ b/hgext/absorb.py	Sun Oct 06 20:17:41 2019 -0700
@@ -862,7 +862,7 @@
         # be slow. in absorb's case, no need to invalidate fsmonitorstate.
         noop = lambda: 0
         restore = noop
-        if util.safehasattr(dirstate, b'_fsmonitorstate'):
+        if util.safehasattr(dirstate, '_fsmonitorstate'):
             bak = dirstate._fsmonitorstate.invalidate
 
             def restore():