[snowy] Handle changes in 'note-content-version'.



commit da85780ca7310a1fe4b68f4c671475d978058462
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date:   Sun May 17 23:48:23 2009 -0700

    Handle changes in 'note-content-version'.
---
 api/handlers.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/api/handlers.py b/api/handlers.py
index fa0a5f1..9faab9b 100644
--- a/api/handlers.py
+++ b/api/handlers.py
@@ -103,6 +103,7 @@ class NotesHandler(BaseHandler):
                 continue
             if c.has_key('title'): note.title = c['title']
             if c.has_key('note-content'): note.content = c['note-content']
+            if c.has_key('note-content-version'): note.content_version = c['note-content-version']
             if c.has_key('last-change-date'): note.user_modified = clean_date(c['last-change-date'])
             if c.has_key('last-metadata-change-date'):
                 note.modified = clean_date(c['last-metadata-change-date'])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]