Exemplo n.º 1
0
def load_customers(path):
    """
    Load customers list from disk.
    """
    lst = dhnio._read_list(path)
    if lst is None:
        lst = list()
    set_customers(lst)
Exemplo n.º 2
0
def load_correspondents(path):
    """
    Load correspondents list from disk.
    """
    lst = dhnio._read_list(path)
    if lst is None:
        lst = list()
    set_correspondents(lst)
Exemplo n.º 3
0
def load_suppliers(path):
    """
    Load suppliers list from disk.
    """
    lst = dhnio._read_list(path)
    if lst is None:
        lst = list()
    set_suppliers(lst)