From 4c2a9d256623360b34a37dbde19531919af41c21 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 23 Nov 2015 23:14:17 +0100 Subject: replace all " with ' --- watchnews/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'watchnews/data.py') 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) -- cgit v1.2.1