henzk/django-productline — pull request #4 by mgaller (2013-12-05 22:49:57+00:00)
Title: ape commands not working in activated product

without import following error:

Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/main.py", line 118, in
main()
File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/main.py", line 115, in main
run(sys.argv, features=features)
File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/main.py", line 63, in run
tasks_module = importlib.import_module(feature + '.tasks')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/opt/webapps/schnesapeh/_lib/venv/src/django-productline/django_productline/features/staticfiles/tasks.py", line 4, in
@tasks.requires_product_environment
File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/__init__.py", line 137, in __getattr__
return self.get_task(name)
File "/opt/webapps/schnesapeh/_lib/venv/src/ape/ape/__init__.py", line 104, in get_task
raise TaskNotFound(name)
ape.TaskNotFound: requires_product_environment