From 3a56a2602da03da0df62602d1e14f407270096bb Mon Sep 17 00:00:00 2001 From: k clair Date: Tue, 9 Oct 2012 13:15:53 -0700 Subject: add previously generated debian packaging files --- .../usr/share/pyshared/requests/certs.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 requests-0.14.0/debian/python-requests/usr/share/pyshared/requests/certs.py (limited to 'requests-0.14.0/debian/python-requests/usr/share/pyshared/requests/certs.py') diff --git a/requests-0.14.0/debian/python-requests/usr/share/pyshared/requests/certs.py b/requests-0.14.0/debian/python-requests/usr/share/pyshared/requests/certs.py new file mode 100644 index 0000000..42df2f8 --- /dev/null +++ b/requests-0.14.0/debian/python-requests/usr/share/pyshared/requests/certs.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +""" +ceritfi.py +~~~~~~~~~~ + +This module returns the installation location of cacert.pem. +""" + +import os +try: + import certifi +except ImportError: + certifi = None + + +def where(): + + if certifi: + return certifi.where() + else: + f = os.path.split(__file__)[0] + return os.path.join(f, 'cacert.pem') + +if __name__ == '__main__': + print(where()) -- cgit v1.2.3