From dbf3c8b46faffd5e6093c2677250346248676b72 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 24 Sep 2003 22:49:51 +0000 Subject: [PATCH] * src/plugins/WriteFTree.py: increment the count properly svn: r2166 --- gramps2/src/plugins/WriteFtree.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gramps2/src/plugins/WriteFtree.py b/gramps2/src/plugins/WriteFtree.py index 7612cceb2..b4bd3deb0 100644 --- a/gramps2/src/plugins/WriteFtree.py +++ b/gramps2/src/plugins/WriteFtree.py @@ -153,10 +153,6 @@ class FtreeWriter: ErrorDialog(m1,m2) return - self.flist = {} - for key in self.plist.keys(): - p = self.db.getPerson(key) - name_map = {} id_map = {} id_name = {} @@ -177,6 +173,7 @@ class FtreeWriter: nn = "%s%d" % (n,count) if not name_map.has_key(nn): break; + count += 1 name_map[nn] = key id_map[key] = nn else: