def get_import_lines(self):
        if self.imports:
            return ["from %s import %s" % (value, key) for key, value in self.imports.items()]
        else:
            return []
.. todo::
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/django-extensions-1.5.0/django_extensions/management/commands/dumpscript.py/Code.get_import_lines--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/datasets/preprocessing.py/PCA_ViewConverter.view_shape