Skip to content

Commit

Permalink
Fix spelling of VMessageRecipient class
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitche committed Jul 7, 2011
1 parent b2c0a12 commit 3fb84ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion r2/r2/controllers/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def POST_feedback(self, form, jquery, name, email, reason, message):
VUser(),
VModhash(),
ip = ValidIP(),
to = VMessageRecipent('to'),
to = VMessageRecipient('to'),
subject = VRequired('subject', errors.NO_SUBJECT),
body = VMarkdown(['text', 'message']))
def POST_compose(self, form, jquery, to, subject, body, ip):
Expand Down
2 changes: 1 addition & 1 deletion r2/r2/controllers/validator/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ def run(self, name):
return self.error(errors.USER_DOESNT_EXIST)
self.error()

class VMessageRecipent(VExistingUname):
class VMessageRecipient(VExistingUname):
def run(self, name):
if not name:
return self.error()
Expand Down

0 comments on commit 3fb84ad

Please sign in to comment.