def to_youtrack_user(trac_user) :
    user = youtrack.User()
    user.login = trac_user.name
    user.email = tracLib.DEFAULT_EMAIL
    if not (trac_user.email is None):
        if len(trac_user.email):
            user.email = trac_user.email
    return user
Converts Trac user to YT user.
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/trac2youtrack.py/to_youtrack_user