Permalink
Browse files

Normalize whitespace

  • Loading branch information...
1 parent 7e01790 commit 938ed803d0a18fd1837dda0987a9e0eeae9bd0c4 @mitsuhiko committed Jan 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 feedback.py
View
2 feedback.py
@@ -40,7 +40,7 @@ class Feedback(db.Model):
def __init__(self, kind, text, version):
assert kind in (self.UNHAPPY, self.HAPPY)
self.kind = kind
- self.text = text
+ self.text = u' '.join(text.split())
self.version = version
self.pub_date = datetime.utcnow()

0 comments on commit 938ed80

Please sign in to comment.