Merge "close_swift_conn is a method of swift.proxy.controllers.base.Controller, not function"

This commit is contained in:
Jenkins 2012-10-03 21:25:21 +00:00 committed by Gerrit Code Review
commit 6801920785

View File

@ -606,7 +606,7 @@ class Controller(object):
statuses.append(HTTP_NOT_FOUND) statuses.append(HTTP_NOT_FOUND)
reasons.append('') reasons.append('')
bodies.append('') bodies.append('')
close_swift_conn(possible_source) self.close_swift_conn(possible_source)
else: else:
statuses.append(possible_source.status) statuses.append(possible_source.status)
reasons.append(possible_source.reason) reasons.append(possible_source.reason)