Changeset e65150a for fedd/federation
- Timestamp:
- Dec 10, 2010 3:27:05 PM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- 3fa4328
- Parents:
- b67fd22
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/authorizer.py
rb67fd22 re65150a 209 209 if self.me is not None and abac_pem_type(self.me) == 'both': 210 210 if self.save_dir: 211 self.key, self.me = abac_split_cert(self.me, 212 keyfile="%s/key.pem" % self.save_dir, 213 certfile = "%s/cert.pem" % self.save_dir) 211 keyfile="%s/key.pem" % self.save_dir 212 certfile = "%s/cert.pem" % self.save_dir 213 214 # Clear a spot for the new key and cert files. 215 for fn in (keyfile, certfile): 216 if os.access(fn, os.F_OK): 217 os.unlink(fn) 218 219 self.key, self.me = abac_split_cert(self.me, keyfile, certfile) 214 220 else: 215 221 raise abac_authorizer.bad_cert_error("Combination " + \
Note: See TracChangeset
for help on using the changeset viewer.