Mercurial > kallithea
changeset 789:9fec2207f91c beta
removed binary files from trending sources
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 29 Nov 2010 01:34:19 +0100 |
parents | 873611d6ff71 |
children | 0142dac6f3c7 |
files | rhodecode/lib/celerylib/tasks.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/celerylib/tasks.py Sun Nov 28 21:25:02 2010 +0100 +++ b/rhodecode/lib/celerylib/tasks.py Mon Nov 29 01:34:19 2010 +0100 @@ -350,7 +350,7 @@ ext = f.extension key = LANGUAGES_EXTENSIONS_MAP.get(ext, ext) key = key or ext - if ext in LANGUAGES_EXTENSIONS_MAP.keys(): + if ext in LANGUAGES_EXTENSIONS_MAP.keys() and not f.is_binary: if code_stats.has_key(key): code_stats[key] += 1 else: