From: Torsten Werner Date: Sun, 23 Jan 2011 21:25:20 +0000 (+0100) Subject: Fix documentation. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=93dfc3f4a45312e74bb032b28019eaf41f25a482;p=dak.git Fix documentation. Signed-off-by: Torsten Werner --- 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)