Changeset 11a08b0 for fedd/fedd_access.py
- Timestamp:
- Oct 7, 2008 6:12:57 PM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 0ea11af
- Parents:
- 8ecfbad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_access.py
r8ecfbad r11a08b0 22 22 import parse_detail 23 23 from service_error import * 24 import logging 25 26 class nullHandler(logging.Handler): 27 def emit(self, record): pass 28 29 fl = logging.getLogger("fedd.access") 30 fl.addHandler(nullHandler()) 24 31 25 32 class fedd_access: … … 52 59 self.fedid_default = config.fedid_default 53 60 self.restricted = copy.copy(config.restricted) 61 62 self.log = logging.getLogger("fedd.access") 54 63 55 64 # Certs are promoted from the generic to the specific, so without a … … 385 394 def RequestAccess(self, req, fid): 386 395 387 print "in get access"388 396 if req.has_key('RequestAccessRequestBody'): 389 397 req = req['RequestAccessRequestBody'] … … 393 401 if req.has_key('destinationTestbed'): 394 402 dt = unpack_id(req['destinationTestbed']) 395 396 print dt, " ", self.testbed397 403 398 404 if dt == None or dt == self.testbed:
Note: See TracChangeset
for help on using the changeset viewer.