Skip to content

Commit

Permalink
Tidy some settings
Browse files Browse the repository at this point in the history
  • Loading branch information
gthole committed Sep 1, 2015
1 parent 474d452 commit 969bad8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ def email_comment(self, user, noun, file_names):
message_body = '%s\n\n%s' % (cd['message'], '\n'.join(file_names))
send_mail(
'Comment from %s %s about %s' % (
user.first_name, user.last_name, noun),
user.first_name,
user.last_name,
noun
),
message_body,
user.email or '[email protected]',
[email for _, email in settings.ADMINS]
'[email protected]',
settings.SERVER_EMAIL
)


Expand Down
2 changes: 1 addition & 1 deletion gedcom_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GedcomParser(object):
line_re = re.compile(
'^(\d{1,2})' + # Level
'(?: @([A-Z\d]+)@)?' + # Pointer, optional
' _?([A-Z\d]{3,})' + # Tag
' _?([A-Z\d]{3,})' + # Tag
'(?: (.+))?$' # Value, optional
)

Expand Down

0 comments on commit 969bad8

Please sign in to comment.