736d202 RHELBLD-264: refactor init_data()

Authored and Committed by jobrauer 3 years ago
    RHELBLD-264: refactor init_data()
    
    Add variant of get_rpm_release(), with no db access.
    Reduce number of db_session.commit() calls to just one at the end.
    
        
file modified
+56 -11