Skip to content

Commit

Permalink
Fix some lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Jul 11, 2014
1 parent 92397c3 commit ebbe95d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kaleo/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,12 @@ def invite(cls, from_user, to_email, message=None, send=True):
status=JoinInvitation.STATUS_SENT,
signup_code=signup_code
)

def send_invite(*args, **kwargs):
signup_code.send(*args, **kwargs)
InvitationStat.objects.filter(user=from_user).update(invites_sent=models.F("invites_sent") + 1)
InvitationStat.objects.filter(user=from_user).update(
invites_sent=models.F("invites_sent") + 1
)
invite_sent.send(sender=cls, invitation=join)
if send:
send_invite()
Expand Down

0 comments on commit ebbe95d

Please sign in to comment.