Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix more tests

  • Loading branch information
m0rgen committed Mar 18, 2014
1 parent 9dc95d1 commit 3731230be8330769290b7fa588c625fca77f3a9a
@@ -155,8 +155,9 @@ def emit(self, eventDict):
format += ' i=%(serverInstance)s'
formatArgs["serverInstance"] = config.LogID if config.LogID else "0"

format += ' or=%(outstandingRequests)s'
formatArgs["outstandingRequests"] = request.chanRequest.channel.factory.outstandingRequests
if request.chanRequest: # This can be None during tests
format += ' or=%(outstandingRequests)s'
formatArgs["outstandingRequests"] = request.chanRequest.channel.factory.outstandingRequests

# Tags for time stamps collected along the way - the first one in the list is the initial
# time for request creation - we use that to track the entire request/response time
@@ -160,7 +160,7 @@ def checkSacl(self, request):
request.checkingSACL = True

for collection in self.principalCollections():
principal = collection._principalForURI(authzUser.children[0].children[0].data)
principal = yield collection._principalForURI(authzUser.children[0].children[0].data)
if principal is None:
response = (yield UnauthorizedResponse.makeResponse(
request.credentialFactories,

0 comments on commit 3731230

Please sign in to comment.
You can’t perform that action at this time.