6cc0a0b pylint: use yield_from for trivial cases

2 files Authored by abbra 8 months ago, Committed by antorres 8 months ago,
    pylint: use yield_from for trivial cases
    
    Follow pylint recommendations (turned errors in recent pylint updates)
    and use PEP-380 syntax for subgenerators. This is supported by all
    Python 3 versions since ~2011.
    
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Thomas Woerner <twoerner@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
    
        
file modified
+4 -8
file modified
+3 -6