Commit 34e7778c by Juho Kim

updated req versions

parent 0469f9b0
django==1.4.3 django==1.4.5
pymongo==2.4.1 pymongo==2.4.1
pymysql pymysql
flup flup
...@@ -10,10 +10,10 @@ multiprocessing ...@@ -10,10 +10,10 @@ multiprocessing
gunicorn gunicorn
path.py path.py
decorator decorator
MySQL-python==1.2.4c1 MySQL-python==1.2.4
simplejson simplejson
South==0.7.6 South==0.7.6
django-celery==3.0.11 django-celery==3.0.17
celery-with-redis==3.0 celery-with-redis==3.0
-e git://github.com/edx/django-pipeline.git@c5a4848d3d8fa90a7da4a4007f5653be40cccdd9#egg=django_pipeline-dev -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 -e git://github.com/edx/django-staticfiles.git@6d2504e5c84a3003b4573e0ba0f11adf7583d372#egg=django_staticfiles-dev
...@@ -57,7 +57,9 @@ class multi_embed(): ...@@ -57,7 +57,9 @@ class multi_embed():
def __init__(self, embeds): def __init__(self, embeds):
self._embeds = embeds self._embeds = embeds
def __getattr__(self, attr): def __getattr__(self, attr):
# print ">>>>>>>>>>>>> Getting", attr # print ">>>>>>>>>>>>> Getting", attr
# if attr[0] == '_':
# return
for x in self._embeds: for x in self._embeds:
f = None f = None
try: try:
...@@ -65,9 +67,9 @@ class multi_embed(): ...@@ -65,9 +67,9 @@ class multi_embed():
except AttributeError: except AttributeError:
pass pass
if f: if f:
# print # print
# print ">>>>>>>>>>>>>>>>>>>", f # print ">>>>>>>>>>>>>>>>>>>", f
# print # print
return f return f
print "Not found", attr print "Not found", attr
raise AttributeError(attr) raise AttributeError(attr)
...@@ -252,7 +254,6 @@ def get_embed(t, config = None): ...@@ -252,7 +254,6 @@ def get_embed(t, config = None):
if config: if config:
embeds = [] embeds = []
for embed_spec in config: for embed_spec in config:
# print embed_spec
embeds.append(single_embed(t, **embed_spec)) embeds.append(single_embed(t, **embed_spec))
return multi_embed(embeds) return multi_embed(embeds)
return single_embed(t) 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