Removed yields while cursor is open
svn: r15814
This commit is contained in:
parent
0698a42f8e
commit
1eb50ff295
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user