equal
deleted
inserted
replaced
59 if self._watchmanclient is not None: |
59 if self._watchmanclient is not None: |
60 self._watchmanclient.setTimeout(timeout) |
60 self._watchmanclient.setTimeout(timeout) |
61 |
61 |
62 def getcurrentclock(self): |
62 def getcurrentclock(self): |
63 result = self.command(b'clock') |
63 result = self.command(b'clock') |
64 if not util.safehasattr(result, b'clock'): |
64 if not util.safehasattr(result, 'clock'): |
65 raise Unavailable( |
65 raise Unavailable( |
66 b'clock result is missing clock value', invalidate=True |
66 b'clock result is missing clock value', invalidate=True |
67 ) |
67 ) |
68 return result.clock |
68 return result.clock |
69 |
69 |