From: BenoƮt Fontaine Date: Sun, 4 Mar 2018 16:49:25 +0000 (+0100) Subject: Add comments X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=9319ed32690453f53ddc84f1d7e17532a33c243e;p=gamesguru%2Fgetmyancestors.git Add comments --- diff --git a/fstogedcom.py b/fstogedcom.py index e8909f8..4ad1a96 100644 --- a/fstogedcom.py +++ b/fstogedcom.py @@ -1,11 +1,9 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +# global import from tkinter import Tk, StringVar, IntVar, filedialog, messagebox, Menu, TclError from tkinter.ttk import Frame, Label, Entry, Button, Checkbutton, Treeview, Notebook -from getmyancestors import Session, Tree, Indi, Fam -from mergemyancestors import Gedcom -from translation import translations from threading import Thread from diskcache import Cache import time @@ -14,6 +12,11 @@ import asyncio import re import os +# global import +from getmyancestors import Session, Tree, Indi, Fam +from mergemyancestors import Gedcom +from translation import translations + tmp_dir = os.path.join(tempfile.gettempdir(), 'familysearchtogedcom') global cache @@ -62,6 +65,7 @@ class EntryWithMenu(Entry): pass +# List of files to merge class FilesToMerge(Treeview): def __init__(self, master, **kwargs): super(FilesToMerge, self).__init__(master, selectmode='extended', **kwargs) @@ -96,6 +100,7 @@ class FilesToMerge(Treeview): return delete +# Merge widget class Merge(Frame): def __init__(self, master, **kwargs):