Added a global declaration
- Legacy-Id: 11647
This commit is contained in:
parent
6f5234969e
commit
e3020686a8
|
@ -114,7 +114,7 @@ template_coverage_loader.is_usable = True
|
|||
|
||||
class RecordUrlsMiddleware(object):
|
||||
def process_request(self, request):
|
||||
global url_coverage_collection
|
||||
global url_coverage_collection, visited_urls
|
||||
if url_coverage_collection == True:
|
||||
visited_urls.add(request.path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue