9828a01 Don't try to add duplicate buildrequires entries when importing a module

Authored and Committed by mprahl 4 years ago
    Don't try to add duplicate buildrequires entries when importing a module
    
    To do this, we need to use the same database session in import_mmd as in
    ModuleBuild.get_buildrequired_base_modules, otherwise, the returned
    ModuleBuild objects are in a detached state.
    
        
file modified
+20 -20