- Timestamp:
- Mar 4, 2010 3:16:47 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- f81aba7
- Parents:
- 93c865a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/util.py
r93c865a r632dd59 62 62 # reference and after the assignment it's a lambda. So we assign 63 63 # to a temp. 64 pwd = password64 pwd = str(password) 65 65 password =lambda *args: pwd 66 66 67 # The calls to str below (and above) are because the underlying SSL 68 # stuff is intolerant of unicode. 67 69 if password != None: 68 self.load_cert( my_cert, callback=password)70 self.load_cert(str(my_cert), callback=password) 69 71 else: 70 self.load_cert( my_cert)72 self.load_cert(str(my_cert)) 71 73 72 74 # If no trusted certificates are specified, allow unknown CAs.
Note: See TracChangeset
for help on using the changeset viewer.