7af4528 Fix ipa console filename

Authored and Committed by cheimes 5 years ago
    Fix ipa console filename
    
    THe ipa console command takes an optional filename argument. The
    filename argument was broken, because the implementation passed a file
    object to exec() instead of a string or compiled object.
    
    ipa console now uses compile() to compile the code with print_function
    __future__ feature.
    
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    
        
file modified
+9 -3