Skip to content

Commit

Permalink
Fix accidental tuple creations
Browse files Browse the repository at this point in the history
  • Loading branch information
nursix committed Jul 17, 2019
1 parent 7763e70 commit 06a19c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
503105d6a (2019-07-16 18:59:32)
nursix-dev-3000-g7763e70 (2019-07-17 13:23:11)
2 changes: 1 addition & 1 deletion modules/s3/s3aaa.py
Expand Up @@ -1741,7 +1741,7 @@ def configure_user_fields(self, pe_ids=None):

first_name = utable.first_name
first_name.label = T("First Name") #messages.label_first_name
first_name.requires = IS_NOT_EMPTY(error_message=messages.is_empty),
first_name.requires = IS_NOT_EMPTY(error_message=messages.is_empty)

last_name = utable.last_name
last_name.label = T("Last Name") #messages.label_last_name
Expand Down
8 changes: 4 additions & 4 deletions modules/s3db/req.py
Expand Up @@ -5118,10 +5118,10 @@ def inv_match(r, **attr):
else:
status = SPAN(T("YES"), _class="req_status_complete")
else:
status = SPAN(T("NO"), _class="req_status_none"),
status = SPAN(T("NO"), _class="req_status_none")
else:
inv_quantity = T("N/A")
status = SPAN(T("N/A"), _class="req_status_none"),
status = SPAN(T("N/A"), _class="req_status_none")

items.append(TR(#A(req_item.id),
supply_item_represent(req_item.item_id),
Expand Down Expand Up @@ -5290,10 +5290,10 @@ def skills_match(r, **attr):
else:
status = SPAN(T("YES"), _class="req_status_complete")
else:
status = SPAN(T("NO"), _class="req_status_none"),
status = SPAN(T("NO"), _class="req_status_none")
else:
org_quantity = T("N/A")
status = SPAN(T("N/A"), _class="req_status_none"),
status = SPAN(T("N/A"), _class="req_status_none")

items.append(TR(#A(req_item.id),
multi_skill_represent(skills),
Expand Down

0 comments on commit 06a19c5

Please sign in to comment.