]> Nutra Git (v1) - gamesguru/getmyancestors.git/commitdiff
delete useless asyncio loop
authorlinek <benoitfontaine.ba@gmail.com>
Fri, 28 Jul 2017 05:30:12 +0000 (07:30 +0200)
committerlinek <benoitfontaine.ba@gmail.com>
Fri, 28 Jul 2017 05:30:12 +0000 (07:30 +0200)
getmyancestors.py

index f0d011752931bbac9d721183ab68eaa574efca85..77bde03897b924728f24355692194a2ae55cd5bb 100755 (executable)
@@ -724,7 +724,6 @@ class Tree:
         self.fs = fs
         self.indi = dict()
         self.fam = dict()
-        self.loop = asyncio.get_event_loop()
 
     # add individual to the family tree
     def add_indi(self, fid):
@@ -891,7 +890,6 @@ if __name__ == '__main__':
     todo = set(tree.indi.keys())
     loop.run_until_complete(download_tree(tree.add_children, todo, args.d, loop))
 
-
     # download spouses
     async def download_spouses(loop):
         futures = set()