hgext/fsmonitor/watchmanclient.py
changeset 50925 d718eddf01d9
parent 48946 642e31cb55f0
child 51859 f4733654f144
--- a/hgext/fsmonitor/watchmanclient.py	Thu Dec 08 15:33:19 2022 +0100
+++ b/hgext/fsmonitor/watchmanclient.py	Thu Aug 31 23:56:15 2023 +0200
@@ -69,7 +69,7 @@
 
     def getcurrentclock(self):
         result = self.command(b'clock')
-        if not util.safehasattr(result, 'clock'):
+        if not hasattr(result, 'clock'):
             raise Unavailable(
                 b'clock result is missing clock value', invalidate=True
             )