[snowy] Forgot to include trailing slash
- From: Brad Taylor <btaylor src gnome org>
- To: svn-commits-list gnome org
- Subject: [snowy] Forgot to include trailing slash
- Date: Mon, 18 May 2009 13:46:42 -0400 (EDT)
commit 7090a829a57254d5d55fc911ce1d169c09f7b346
Author: Brad Taylor <brad getcoded net>
Date: Mon May 18 13:46:27 2009 -0400
Forgot to include trailing slash
---
api/handlers.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/api/handlers.py b/api/handlers.py
index fd8b376..7456f8a 100644
--- a/api/handlers.py
+++ b/api/handlers.py
@@ -183,7 +183,7 @@ def simple_describe_note(note):
}
def get_latest_sync_rev(user):
- max_rev = Note.objects.filter(author=user)
+ max_rev = Note.objects.filter(author=user) \
.aggregate(Max('last_sync_rev')) \
['last_sync_rev__max']
return max_rev if max_rev != None else -1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]