Browse files

Scala is rotting my brain. Rotting, I tell ya.

  • Loading branch information...
1 parent f50dae7 commit daee8832be2968ce4c5b40c2472ccbaa3433843e @kushal committed Jan 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 emails.py
View
2 emails.py
@@ -48,7 +48,7 @@ def __send_mail(self, recipient, body):
def __snippet_to_text(self, snippet):
divider = '-' * 30
- return '%s\n%s\n%s' % (snippet.user.pretty_name, divider, snippet.text)
+ return '%s\n%s\n%s' % (snippet.user.pretty_name(), divider, snippet.text)
def get(self):
post(self)

1 comment on commit daee883

@jorgeortiz85

You can't blame Scala for this! Scala discourages using parens on property accessors. This is totally Java's fault.

Please sign in to comment.