chore: remove unused activate_this code branch (#8230)

This commit is contained in:
Robert Sparks 2024-11-18 13:57:33 -06:00 committed by GitHub
parent 1d7be8c98c
commit fd816c4f41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,10 +8,6 @@ basedir = os.path.abspath(os.path.join(os.path.dirname(__file__), "../.."))
sys.path = [ basedir ] + sys.path
os.environ["DJANGO_SETTINGS_MODULE"] = "ietf.settings"
virtualenv_activation = os.path.join(basedir, "env", "bin", "activate_this.py")
if os.path.exists(virtualenv_activation):
execfile(virtualenv_activation, dict(__file__=virtualenv_activation))
syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_USER)
import django