[dak/master] Fix documentation.
Signed-off-by: Torsten Werner <twerner@debian.org>
---
daklib/dbconn.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/daklib/dbconn.py b/daklib/dbconn.py
index 1364539..5d0e054 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)
--
1.5.6.5
Reply to: