From 9a2b5eeb5201f8c3112df47aa7d0062377df1b2c Mon Sep 17 00:00:00 2001 From: tresbailey Date: Sat, 10 Aug 2013 23:51:30 -0400 Subject: [PATCH] No need for fancy imports --- conf.d/celeryconfig.py.erb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/conf.d/celeryconfig.py.erb b/conf.d/celeryconfig.py.erb index 369fa89..1600f13 100644 --- a/conf.d/celeryconfig.py.erb +++ b/conf.d/celeryconfig.py.erb @@ -29,13 +29,3 @@ CELERY_IMPORTS = (<%= celery_imports %>, ) CELERY_ANNOTATIONS = {"tasks.add": {"rate_limit": <%= ENV.fetch('OPENSHIFT_CELERY_RATE_LIM', '10/s') %>}} -<% -if File.exists? "#{ENV['OPENSHIFT_REPO_DIR']}/.openshift/celeryconfig.py" - %> -import sys -sys.path.insert(0, '<%= ENV['OPENSHIFT_REPO_DIR'] %>/.openshift/celeryconfig.py') - -import file -<% -end -%>