ae28760 Unitfy API of get_modules

Authored and Committed by cqi 5 years ago
    Unitfy API of get_modules
    
    Originally, there are two API to query module builds from MBS, get_modules and
    get_modules_with_requires. This patch refactors and unify the API to a single
    method get_modules with two addiitonal optional arguments requires and
    buildrequires. As a result, to get module builds with requires or buildrequires
    or both, no need to write if-else in the old way.
    
    Signed-off-by: Chenxiong Qi <cqi@redhat.com>
    
        
file modified
+34 -14
file modified
+136 -2
file modified
+1 -1
file modified
+23 -10
file modified
+1 -1
file modified
+14 -16
file modified
+30 -18