python:gp: Avoid path check for cepces-submit
authorAndreas Schneider <asn@samba.org>
Mon, 22 Jan 2024 13:14:30 +0000 (14:14 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 29 Jan 2024 09:32:46 +0000 (09:32 +0000)
commit6a9630eff624643fd725219775784e68d967d04c
tree8c86b6c7fb5d3a1e81b599c48d6708ab740b2747
parent6e6d8384f369e2b850921c7b4d54742f501c115c
python:gp: Avoid path check for cepces-submit

find_cepces_submit() uses which(), which returns None if not found.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15559

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
python/samba/gp/gp_cert_auto_enroll_ext.py