damned-lies r1134 - in branches/djamnedlies: . stats



Author: claudep
Date: Thu Nov  6 22:54:47 2008
New Revision: 1134
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1134&view=rev

Log:
2008-11-06  Claude Paroz  <claude 2xlibre net>

	* stats/models.py: branch.releases should be iterated with all().

Modified:
   branches/djamnedlies/ChangeLog
   branches/djamnedlies/stats/models.py

Modified: branches/djamnedlies/stats/models.py
==============================================================================
--- branches/djamnedlies/stats/models.py	(original)
+++ branches/djamnedlies/stats/models.py	Thu Nov  6 22:54:47 2008
@@ -113,7 +113,7 @@
 
     def has_string_freezed(self):
         """ Returns true if the branch is contained in at least one stringfreezed release """
-        for rel in self.releases:
+        for rel in self.releases.all():
             if rel.stringfrozen:
                 return True
         return False



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]