'Takes the stored imports and converts them to lines'

def get_import_lines(self):

    if self.imports:
        return [('from    %s    import    %s' % (value, key)) for (key, value) in self.imports.items()]
    else:
        return []
