hgext/remotefilelog/fileserverclient.py
changeset 43115 4aa72cdf616f
parent 43077 687b865b95ad
child 43117 8ff1ecfadcd1
--- a/hgext/remotefilelog/fileserverclient.py	Tue Oct 08 19:35:30 2019 -0700
+++ b/hgext/remotefilelog/fileserverclient.py	Sun Oct 06 20:17:41 2019 -0700
@@ -89,7 +89,7 @@
                 not in self.capabilities()
             ):
                 return
-            if not util.safehasattr(self, b'_localrepo'):
+            if not util.safehasattr(self, '_localrepo'):
                 return
             if (
                 constants.SHALLOWREPO_REQUIREMENT
@@ -129,7 +129,7 @@
 
         def _callstream(self, command, **opts):
             supertype = super(remotefilepeer, self)
-            if not util.safehasattr(supertype, b'_sendrequest'):
+            if not util.safehasattr(supertype, '_sendrequest'):
                 self._updatecallstreamopts(command, pycompat.byteskwargs(opts))
             return super(remotefilepeer, self)._callstream(command, **opts)