Example #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)
Example #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)
Example #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)