summaryrefslogtreecommitdiff
path: root/watchnews/data.py
diff options
context:
space:
mode:
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)