PiRSquared17 / app-engine-patch

Automatically exported from code.google.com/p/app-engine-patch
0 stars 0 forks source link

Combined javascript file has repeated code of gettext library #264

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I found the cause of this issue is that in get_targets method in
generatemedia.py, group.insert(0,lang_data) add a new copy of gettext
library as each time it was executed,so I use group[0]=lang_data to solve
this issue.

Original issue reported on code.google.com by encephal...@gmail.com on 4 May 2010 at 7:56

GoogleCodeExporter commented 9 years ago
I think group[0]=lang_data it's not a good idea because I found group.insert(0,
site_data), now I add a if statement to void this issue.
if lang_data not in group:
    group.insert(0,lang_data)

Original comment by encephal...@gmail.com on 4 May 2010 at 8:40