Closed T0MASD closed 12 years ago
Hi Tomas, I would prefer that the import was contingent upon the use of the handler
def __init__(self, username, password, url):
try:
from urllib2_kerberos import HTTPKerberosAuthHandler
except ImportError:
raise ImportError('You need [....] try: pip install urllib2_kerberos')
[...]
}
Ok?
On Fri, May 4, 2012 at 8:53 PM, Andrea de Marco reply@reply.github.com wrote:
Hi Tomas, I would prefer that the import was contingent upon the use of the handler
Andrea, thanks for the feedback, I have pushed an update. https://github.com/T0MASD/python-rtkit/commit/c04cf74c5fa8b7266f42c8e5dd19376c9c0dc010
Best Regards, Tomas
This adds kerberos-based authentication, it uses urllib2_kerberos (http://pypi.python.org/pypi/urllib2_kerberos/)