def execute_sql(self, result_type):
        cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
        rows = cursor.rowcount if cursor else 0
        is_empty = cursor is None
        del cursor
        for query in self.query.get_related_updates():
            aux_rows = query.get_compiler(self.using).execute_sql(result_type)
            if is_empty:
                rows = aux_rows
                is_empty = False
        return rows
Move a repository from private to public
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/models/sql/compiler.py/SQLUpdateCompiler.execute_sql--crossover with--dataset/ETHPy150Open washingtontimes/django-repositories/repositories/vcs/base.py/BaseVCS.make_public