l10n/web/damned-lies REQUIREMENTS, 1.1.1.1, 1.2 releases.py, 1.1.1.1, 1.2 view-module.py, 1.1.1.1, 1.2

Dimitris Glezos (glezos) fedora-extras-commits at redhat.com
Tue Jun 12 19:06:23 UTC 2007


Author: glezos

Update of /cvs/fedora/l10n/web/damned-lies
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8475

Modified Files:
	REQUIREMENTS releases.py view-module.py 
Log Message:
Adds support for UTF (CT 2.0rc8) and small fix for sqlobject. Upstream patch: http://bugzilla.gnome.org/show_bug.cgi?id=445062


Index: REQUIREMENTS
===================================================================
RCS file: /cvs/fedora/l10n/web/damned-lies/REQUIREMENTS,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- REQUIREMENTS	12 Jun 2007 18:55:47 -0000	1.1.1.1
+++ REQUIREMENTS	12 Jun 2007 19:06:20 -0000	1.2
@@ -1,4 +1,4 @@
-Short: Apache2 + mod_rewrite, Python + SQLObject + CheetahTemplate, intltool
+Short: Apache2 + mod_rewrite, Python + SQLObject + CheetahTemplate, intltool, cvs
 
 Long:
 
@@ -25,3 +25,4 @@
 xml2po requirements:
  o libxml2 + Python bindings
 
+cvs


Index: releases.py
===================================================================
RCS file: /cvs/fedora/l10n/web/damned-lies/releases.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- releases.py	12 Jun 2007 18:55:47 -0000	1.1.1.1
+++ releases.py	12 Jun 2007 19:06:20 -0000	1.2
@@ -35,7 +35,7 @@
                                           Statistics.q.Language == None,
                                           Statistics.q.Type == type))
             
-        if stats and stats.count():
+        if list(stats) and stats.count():
             tr = stats[0].Translated
             fz = stats[0].Fuzzy
             un = stats[0].Untranslated


Index: view-module.py
===================================================================
RCS file: /cvs/fedora/l10n/web/damned-lies/view-module.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- view-module.py	12 Jun 2007 18:55:47 -0000	1.1.1.1
+++ view-module.py	12 Jun 2007 19:06:20 -0000	1.2
@@ -49,7 +49,7 @@
                                 Statistics.q.Language == None,
                                 Statistics.q.Type == type),
                             orderBy="-date")
-    if res and res.count()>0:
+    if list(res) and res.count()>0:
         if defaults.DEBUG: print >>sys.stderr, "OVDE: %s!" % (module["id"] + "/" + trdomain)
         pot = res[0]
         here['pot_size'] = pot.Untranslated




More information about the fedora-extras-commits mailing list