def is_imported(self, path, model):
        with open(path, 'r') as import_file:
            for line in import_file.readlines():
                if line in 'import {0}'.format(model):
                    # print "Foreign key '%s' was found in models.py..." % (foreign)
                    return True
        return False
dataset/ETHPy150Open Tivix/django-common/django_common/scaffold.py/Scaffold.is_imported/swapped operands of `in`