aboutsummaryrefslogtreecommitdiffstats
path: root/lib/srtmain/management/commands/perf.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/srtmain/management/commands/perf.py')
-rw-r--r--lib/srtmain/management/commands/perf.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/srtmain/management/commands/perf.py b/lib/srtmain/management/commands/perf.py
index 3ed01b66..77f9f519 100644
--- a/lib/srtmain/management/commands/perf.py
+++ b/lib/srtmain/management/commands/perf.py
@@ -1,6 +1,6 @@
from django.core.management.base import BaseCommand
from django.test.client import Client
-import os, sys, re
+import sys, re
import requests
from django.conf import settings
@@ -15,7 +15,6 @@ class Command(BaseCommand):
def handle(self, *args, **options):
root_urlconf = __import__(settings.ROOT_URLCONF)
patterns = root_urlconf.urls.urlpatterns
- global full_url
for pat in patterns:
if pat.__class__.__name__ == 'RegexURLResolver':
url_root_res = str(pat).split('^')[1].replace('>', '')