diff options
author | murgilduta <murgilduta@54714841-351b-0410-a198-e36a94b762f5> | 2009-12-09 13:47:42 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2010-01-08 22:38:13 (GMT) |
commit | 91d6256671e26e83034b170f333ec7cdc193c597 (patch) | |
tree | 62a79c47f855c50f6246cf91dacc7b131aea9299 | |
parent | 9792dc10667e669bf5acf83658bce7a3015ee371 (diff) |
The trailing comma caused to return a tuple, not just a boolean so it seems it was always treated as True in the template code.
git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/branches/Pootle-2.0/Pootle@13483 54714841-351b-0410-a198-e36a94b762f5
-rw-r--r-- | Pootle-2.0.0/local_apps/pootle_app/views/index/index.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Pootle-2.0.0/local_apps/pootle_app/views/index/index.py b/Pootle-2.0.0/local_apps/pootle_app/views/index/index.py index 9823a86..4a499ea 100644 --- a/Pootle-2.0.0/local_apps/pootle_app/views/index/index.py +++ b/Pootle-2.0.0/local_apps/pootle_app/views/index/index.py @@ -109,6 +109,6 @@ def view(request): ), 'untranslated': _('Untranslated')}, } templatevars['moreprojects'] = len(templatevars['projects']) >\ - len(templatevars['languages']), + len(templatevars['languages']) return render_to_response('index/index.html', templatevars, RequestContext(request)) |