Learn more about these different git repos.
Other Git URLs
6ea451a
@@ -106,7 +106,11 @@
We override this from pyrpkg because we actually need a client-side
certificate.
"""
- return os.path.expanduser('~/.fedora.cert')
+ path = os.path.expanduser('~/.fedora.cert')
+ if os.path.exists(path):
+ return path
+ else:
+ return None
@cached_property
def ca_cert(self):
This means that if the user has no cert, pyrpkg will not warn them and just use gssapi.
Signed-off-by: Patrick Uiterwijk puiterwijk@redhat.com
Looks good to me.
Pull-Request has been merged by lsedlar
This means that if the user has no cert, pyrpkg will not warn them
and just use gssapi.
Signed-off-by: Patrick Uiterwijk puiterwijk@redhat.com