]> git.decadent.org.uk Git - dak.git/commitdiff
Fix documentation.
authorTorsten Werner <twerner@debian.org>
Sun, 23 Jan 2011 21:25:20 +0000 (22:25 +0100)
committerTorsten Werner <twerner@debian.org>
Sun, 23 Jan 2011 21:28:53 +0000 (22:28 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/dbconn.py

index 1364539422961acf89e3a422e9cbf66a5f864e18..5d0e054e2c3e37a22c8c03033ff4d2939ad75f51 100755 (executable)
@@ -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)