Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Normalize whitespace

  • Loading branch information...
commit 938ed803d0a18fd1837dda0987a9e0eeae9bd0c4 1 parent 7e01790
Armin Ronacher authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  feedback.py
2  feedback.py
View
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.