Fixing ''NameError: name 'CERT_NONE' is not defined'' error message by commenting buggy code