summaryrefslogtreecommitdiff
path: root/watchnews/data.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2015-11-23 23:14:17 +0100
committerYves Fischer <yvesf-git@xapek.org>2015-11-23 23:14:17 +0100
commit4c2a9d256623360b34a37dbde19531919af41c21 (patch)
treefa8f87435d8108d071963283aea0b6bb0f0da62a /watchnews/data.py
parent6b37966de51c01e6a55dd0188d9d2ac953559c14 (diff)
downloadwatchnews-4c2a9d256623360b34a37dbde19531919af41c21.tar.gz
watchnews-4c2a9d256623360b34a37dbde19531919af41c21.zip
replace all " with '
Diffstat (limited to 'watchnews/data.py')
-rw-r--r--watchnews/data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/watchnews/data.py b/watchnews/data.py
index e4ecc24..125e3d1 100644
--- a/watchnews/data.py
+++ b/watchnews/data.py
@@ -26,8 +26,8 @@ class BaseModel(p.Model):
def __json__(self):
return self._data
def __repr__(self):
- return "<{.__class__.__name__} {}>".format(self, " ".join(
- map(lambda kv: "{0[0]}={0[1]}".format(kv), self._data.items())))
+ return '<{.__class__.__name__} {}>'.format(self, ' '.join(
+ map(lambda kv: '{0[0]}={0[1]}'.format(kv), self._data.items())))
class Feed(BaseModel):
created_date = p.DateTimeField(default=datetime.datetime.now)