mercurial/wireprotov1peer.py
changeset 50928 d718eddf01d9
parent 50701 4238e6b22fc4
child 50929 18c8c18993f0
--- a/mercurial/wireprotov1peer.py	Thu Dec 08 15:33:19 2022 +0100
+++ b/mercurial/wireprotov1peer.py	Thu Aug 31 23:56:15 2023 +0200
@@ -499,7 +499,7 @@
         else:
             heads = wireprototypes.encodelist(heads)
 
-        if util.safehasattr(bundle, 'deltaheader'):
+        if hasattr(bundle, 'deltaheader'):
             # this a bundle10, do the old style call sequence
             ret, output = self._callpush(b"unbundle", bundle, heads=heads)
             if ret == b"":