Replaced occurance of 'xrange' with 'range'

pull/403/head
Karl Hobley 2014-07-01 16:44:19 +01:00
rodzic 0272411222
commit b56c18cb19
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -49,7 +49,7 @@ class EditorsPickFormSet(EditorsPickFormSetBase):
# Check there is at least one non-deleted form.
non_deleted_forms = self.total_form_count()
non_empty_forms = 0
for i in xrange(0, self.total_form_count()):
for i in range(0, self.total_form_count()):
form = self.forms[i]
if self.can_delete and self._should_delete_form(form):
non_deleted_forms -= 1