[CalendarServer-changes] [9580] CalendarServer/branches/users/glyph/q

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 11 01:54:25 PDT 2012


Revision: 9580
          http://trac.macosforge.org/projects/calendarserver/changeset/9580
Author:   glyph at apple.com
Date:     2012-08-11 01:54:25 -0700 (Sat, 11 Aug 2012)
Log Message:
-----------
fake it

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/q/twext/enterprise/dal/record.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/q/

Modified: CalendarServer/branches/users/glyph/q/twext/enterprise/dal/record.py
===================================================================
--- CalendarServer/branches/users/glyph/q/twext/enterprise/dal/record.py	2012-08-11 08:54:24 UTC (rev 9579)
+++ CalendarServer/branches/users/glyph/q/twext/enterprise/dal/record.py	2012-08-11 08:54:25 UTC (rev 9580)
@@ -49,7 +49,11 @@
         """
         Create a row.
         """
-        return None
+        # tbl = cls.__tbl__
+        self = cls()
+        for attr in k:
+            setattr(self, attr, k[attr])
+        return self
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120811/acae164c/attachment-0001.html>


More information about the calendarserver-changes mailing list