10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-18 12:03:57 +01:00

Update only_chidren_to_all_genealogy.py with relative path

This commit is contained in:
Thomas Applencourt 2015-04-30 20:31:27 +02:00
parent acb6b7b16a
commit 03af3bcf73

View File

@ -4,11 +4,11 @@
import os import os
import os.path import os.path
dir_ = '/home/razoa/quantum_package/src'
def get_dict_genealogy(all_children=False): def get_dict_genealogy(all_children=False):
qpackage_root = os.environ['QPACKAGE_ROOT']
dir_ = os.path.join(qpackage_root,'src')
d_ref = dict() d_ref = dict()
for o in os.listdir(dir_): for o in os.listdir(dir_):