def makename(package, module):
    """Join package and module with a dot."""
    if package:
        name = package
        if module:
            name += '.' + module
    else:
        name = module
    return name
