Port to python3, fix ssl support

This commit is contained in:
mutantmonkey
2011-09-22 14:17:27 -04:00
parent 8d601d52bd
commit 50fe275870
41 changed files with 628 additions and 622 deletions

View File

@@ -5,7 +5,7 @@ author: mutantmonkey <mutantmonkey@mutantmonkey.in>
"""
import ldap
from urllib import quote as urlquote
from urllib.parse import quote as urlquote
LDAP_URI = "ldap://directory.vt.edu"
RESULTS_URL = "http://search.vt.edu/search/people.html?q={0}"
@@ -56,5 +56,5 @@ def hs(phenny, input):
hs.rule = (['hs'], r'(.*)')
if __name__ == '__main__':
print __doc__.strip()
print(__doc__.strip())