1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-23 17:34:17 +03:00

removec cProfile from manage.py

This commit is contained in:
Adolfo Gómez García 2022-11-02 02:58:54 +01:00
parent 7853f6b9b1
commit a068838e0e
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -1,11 +1,10 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
import os import os
import sys import sys
import cProfile
if __name__ == "__main__": if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "server.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "server.settings")
from django.core.management import execute_from_command_line from django.core.management import execute_from_command_line
cProfile.run("execute_from_command_line(sys.argv)", "/tmp/django.pyprof") execute_from_command_line(sys.argv)", "/tmp/django.pyprof