From 1eb50ff29554e90abf9cd10a9be0038c5c796e0f Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 25 Aug 2010 04:25:08 +0000 Subject: [PATCH] Removed yields while cursor is open svn: r15814 --- src/plugins/gramplet/StatsGramplet.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/plugins/gramplet/StatsGramplet.py b/src/plugins/gramplet/StatsGramplet.py index b9f97e9bd..6784b910d 100644 --- a/src/plugins/gramplet/StatsGramplet.py +++ b/src/plugins/gramplet/StatsGramplet.py @@ -36,14 +36,6 @@ from Utils import media_path_full import DateHandler import gen -#------------------------------------------------------------------------ -# -# Constants -# -#------------------------------------------------------------------------ - -_YIELD_INTERVAL = 200 - #------------------------------------------------------------------------ # # Gramplet class @@ -122,8 +114,6 @@ class StatsGramplet(Gramplet): males += 1 else: unknowns += 1 - if not cnt % _YIELD_INTERVAL: - yield True self.clear_text() self.append_text(_("Individuals") + "\n")