From 93dfc3f4a45312e74bb032b28019eaf41f25a482 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Sun, 23 Jan 2011 22:25:20 +0100 Subject: [PATCH] Fix documentation. Signed-off-by: Torsten Werner --- daklib/dbconn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 13645394..5d0e054e 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -167,7 +167,7 @@ __all__.append('session_wrapper') class ORMObject(object): """ ORMObject is a base class for all ORM classes mapped by SQLalchemy. All - derived classes must implement the summary() method. + derived classes must implement the properties() method. """ def properties(self): @@ -212,7 +212,7 @@ class ORMObject(object): value = repr(value) else: # we want a string for all other types because json cannot - # everything + # encode everything value = str(value) data[property] = value return json.dumps(data) -- 2.39.5