From 9b3478b9a9c4fcef6adfbb2dab8bad8980c1263b Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Sep 23 2017 07:38:19 +0000 Subject: Do not prompt hint for SSL cert if fail to log into Koji So far, Koji is using Kerberos to authenticate requests from client. No SSL certificate is required. Signed-off-by: Chenxiong Qi --- diff --git a/fedpkg/__init__.py b/fedpkg/__init__.py index 420eebe..6753bcf 100644 --- a/fedpkg/__init__.py +++ b/fedpkg/__init__.py @@ -275,16 +275,6 @@ class Commands(pyrpkg.Commands): raise Exception(msg) self._run_command(cmd, shell=True) - def load_kojisession(self, anon=False): - try: - return super(Commands, self).load_kojisession(anon) - except pyrpkg.rpkgAuthError: - self.log.info("You might want to run fedora-packager-setup to " - "regenerate SSL certificate. For more info see " - "https://fedoraproject.org/wiki/Using_the_Koji_build" - "_system#Fedora_Account_System_.28FAS2.29_Setup") - raise - def _get_bodhi_version(): """