convert to not not

This commit is contained in:
Paul Tarjan 2025-12-26 15:27:50 -07:00
parent 7b1d351330
commit ade6b69f2f

View file

@ -111,10 +111,10 @@ def _ns(
def _rev_exists(rev: str) -> bool: def _rev_exists(rev: str) -> bool:
return subprocess.call( return not not subprocess.call(
('git', 'cat-file', '-e', rev), ('git', 'cat-file', '-e', rev),
stderr=subprocess.DEVNULL, stderr=subprocess.DEVNULL,
) == 0 )
def _pre_push_ns( def _pre_push_ns(