mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 06:24:12 +02:00
Update application.py
This commit is contained in:
parent
5c5fcfcf86
commit
f5fb4b24b8
1 changed files with 1 additions and 2 deletions
|
@ -211,8 +211,7 @@ class ApplicationWizard(ApplicationWizardPermissionView, TemplateView):
|
||||||
def _find_smallest_missing_number(self, incomplete_drafts):
|
def _find_smallest_missing_number(self, incomplete_drafts):
|
||||||
draft_numbers = []
|
draft_numbers = []
|
||||||
for draft in incomplete_drafts:
|
for draft in incomplete_drafts:
|
||||||
# Parse the number out of the text
|
number = draft.requested_domain.draft_number
|
||||||
number = draft.draft_number
|
|
||||||
if number is not None:
|
if number is not None:
|
||||||
draft_numbers.append(number)
|
draft_numbers.append(number)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue