Commit 34e7778c by Juho Kim

updated req versions

parent 0469f9b0
django==1.4.3
django==1.4.5
pymongo==2.4.1
pymysql
flup
......@@ -10,10 +10,10 @@ multiprocessing
gunicorn
path.py
decorator
MySQL-python==1.2.4c1
MySQL-python==1.2.4
simplejson
South==0.7.6
django-celery==3.0.11
django-celery==3.0.17
celery-with-redis==3.0
-e git://github.com/edx/django-pipeline.git@c5a4848d3d8fa90a7da4a4007f5653be40cccdd9#egg=django_pipeline-dev
-e git://github.com/edx/django-staticfiles.git@6d2504e5c84a3003b4573e0ba0f11adf7583d372#egg=django_staticfiles-dev
......@@ -57,7 +57,9 @@ class multi_embed():
def __init__(self, embeds):
self._embeds = embeds
def __getattr__(self, attr):
# print ">>>>>>>>>>>>> Getting", attr
# print ">>>>>>>>>>>>> Getting", attr
# if attr[0] == '_':
# return
for x in self._embeds:
f = None
try:
......@@ -65,9 +67,9 @@ class multi_embed():
except AttributeError:
pass
if f:
# print
# print ">>>>>>>>>>>>>>>>>>>", f
# print
# print
# print ">>>>>>>>>>>>>>>>>>>", f
# print
return f
print "Not found", attr
raise AttributeError(attr)
......@@ -252,7 +254,6 @@ def get_embed(t, config = None):
if config:
embeds = []
for embed_spec in config:
# print embed_spec
embeds.append(single_embed(t, **embed_spec))
return multi_embed(embeds)
return single_embed(t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment