init_ticket: default principal to None
@@ -86,8 +86,7 @@ class FedPKG:
fail=fail,
)
- def init_ticket(self, keytab):
-
+ def init_ticket(self, keytab: str = None):
if keytab and os.path.isfile(keytab):
cmd = f"kinit {self.fas_username}@FEDORAPROJECT.ORG -k -t {keytab}"
else:
